Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pulsar-broker] Support Disable Replicated Subscriptions #8144

Merged
merged 2 commits into from
Oct 1, 2020
Merged

[pulsar-broker] Support Disable Replicated Subscriptions #8144

merged 2 commits into from
Oct 1, 2020

Conversation

k2la
Copy link
Contributor

@k2la k2la commented Sep 28, 2020

Support disabling "Replicated Subscriptions".

Motivation

#8030
"Replicated Subscriptions" is always enabled because enableReplicatedSubscriptions is not used.

Modifications

  • When enableReplicatedSubscriptions is false,
    • Brokers don't create ReplicatedSubscriptionsController.
    • Brokers don't check marker messages.
    • Brokers send NotAllowedException to consumers that use replicateSubscriptionState(true)

@k2la
Copy link
Contributor Author

k2la commented Sep 28, 2020

/pulsarbot run-failure-checks

@k2la
Copy link
Contributor Author

k2la commented Sep 28, 2020

/pulsarbot run-failure-checks

@sijie sijie merged commit b4a2f26 into apache:master Oct 1, 2020
lbenc135 pushed a commit to lbenc135/pulsar that referenced this pull request Oct 3, 2020
Support disabling "Replicated Subscriptions".

### Motivation
apache#8030
"Replicated Subscriptions" is always enabled because enableReplicatedSubscriptions is not used.

### Modifications

- When `enableReplicatedSubscriptions` is false,
  - Brokers don't create `ReplicatedSubscriptionsController`.
  - Brokers don't check marker messages.
  - Brokers send `NotAllowedException` to consumers that use `replicateSubscriptionState(true)`
wolfstudy pushed a commit that referenced this pull request Oct 30, 2020
Support disabling "Replicated Subscriptions".

### Motivation
#8030
"Replicated Subscriptions" is always enabled because enableReplicatedSubscriptions is not used.

### Modifications

- When `enableReplicatedSubscriptions` is false,
  - Brokers don't create `ReplicatedSubscriptionsController`.
  - Brokers don't check marker messages.
  - Brokers send `NotAllowedException` to consumers that use `replicateSubscriptionState(true)`

(cherry picked from commit b4a2f26)
@k2la k2la deleted the disable_replicated_subscriptions branch November 12, 2020 01:24
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Nov 13, 2020
Support disabling "Replicated Subscriptions".

### Motivation
apache#8030
"Replicated Subscriptions" is always enabled because enableReplicatedSubscriptions is not used.

### Modifications

- When `enableReplicatedSubscriptions` is false,
  - Brokers don't create `ReplicatedSubscriptionsController`.
  - Brokers don't check marker messages.
  - Brokers send `NotAllowedException` to consumers that use `replicateSubscriptionState(true)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants