Skip to content

Commit cd4d790

Browse files
committed
Upgrade Compatibility
Signed-off-by: Zixuan Liu <[email protected]>
1 parent 4e7ee76 commit cd4d790

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

Diff for: pip/pip-398.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,22 @@ Both write and read operations require the necessary permissions, which already
212212

213213
## Upgrade
214214

215-
None.
215+
The existing subscription with `replicateSubscriptionSate=false`,the broker will use the policy from the topic or namespace level.
216+
217+
New subscriptions will be followed as usual.
216218

217219
## Downgrade / Rollback
218220

219-
If the broker is downgrade, users will need to ensure that the consumer-level configuration is re-enabled to maintain
220-
the correct replication behavior.
221+
If the broker is downgrade, users will need to ensure that the subscription replication configuration is re-enabled to maintain
222+
the correct replication behavior by the admin CLI or API:
223+
- CLI:
224+
```shell
225+
pulsar-admin topics set-replicated-subscription-status <tenant>/<namespace>/<topic> -s <subName> -e
226+
```
227+
- API:
228+
```java
229+
admin.topics().setReplicatedSubscriptionStatus(topic, subName, true);
230+
```
221231

222232
## Pulsar Geo-Replication Upgrade & Downgrade/Rollback Considerations
223233

0 commit comments

Comments
 (0)