Skip to content

Commit

Permalink
Upgrade Compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Zixuan Liu <[email protected]>
  • Loading branch information
nodece committed Dec 30, 2024
1 parent 4e7ee76 commit cd4d790
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions pip/pip-398.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,22 @@ Both write and read operations require the necessary permissions, which already

## Upgrade

None.
The existing subscription with `replicateSubscriptionSate=false`,the broker will use the policy from the topic or namespace level.

New subscriptions will be followed as usual.

## Downgrade / Rollback

If the broker is downgrade, users will need to ensure that the consumer-level configuration is re-enabled to maintain
the correct replication behavior.
If the broker is downgrade, users will need to ensure that the subscription replication configuration is re-enabled to maintain
the correct replication behavior by the admin CLI or API:
- CLI:
```shell
pulsar-admin topics set-replicated-subscription-status <tenant>/<namespace>/<topic> -s <subName> -e
```
- API:
```java
admin.topics().setReplicatedSubscriptionStatus(topic, subName, true);
```

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

Expand Down

0 comments on commit cd4d790

Please sign in to comment.