Search before reporting
Read release policy
User environment
Pulsar 4.0.5
Issue Description
Apache Pulsar allows replication clusters to be set at the namespace level. This means every topic in a namespace gets replicated as configured.
To date there is no way to disable replication at the namespace level. If an empty list of clusters is passed in, Pulsar returns an error:
curl -XPOST https://:CLUSTER_ENDPOINT/admin/v2/:TENANT/:NS/:TOPIC/replication -D '[]'
{"reason":"ClusterIds should not be null or empty"}
The expectation is for this to disable replication.
Error messages
{"reason":"ClusterIds should not be null or empty"}
Reproducing the issue
Apache Pulsar allows replication clusters to be set at the namespace level. This means every topic in a namespace gets replicated as configured.
To date there is no way to disable replication at the namespace level. If an empty list of clusters is passed in, Pulsar returns an error:
curl -XPOST https://:CLUSTER_ENDPOINT/admin/v2/:TENANT/:NS/:TOPIC/replication -D '[]'
{"reason":"ClusterIds should not be null or empty"}
The expectation is for this to disable replication.
Additional information
No response
Are you willing to submit a PR?
Search before reporting
Read release policy
User environment
Pulsar 4.0.5
Issue Description
Apache Pulsar allows replication clusters to be set at the namespace level. This means every topic in a namespace gets replicated as configured.
To date there is no way to disable replication at the namespace level. If an empty list of clusters is passed in, Pulsar returns an error:
The expectation is for this to disable replication.
Error messages
Reproducing the issue
Apache Pulsar allows replication clusters to be set at the namespace level. This means every topic in a namespace gets replicated as configured.
To date there is no way to disable replication at the namespace level. If an empty list of clusters is passed in, Pulsar returns an error:
The expectation is for this to disable replication.
Additional information
No response
Are you willing to submit a PR?