-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[improve][pip] PIP-398: Subscription replication on the namespace and topic levels #23770
base: master
Are you sure you want to change the base?
[improve][pip] PIP-398: Subscription replication on the namespace and topic levels #23770
Conversation
#23769 aims to overwrite the subscription replication state from the consumer, which is different from this PIP. Actually, I also need an overwrite feature, and then the users use the admin API to manage the subscription replication. The downstream users sometimes enable/disable the subscription replication on the consumer, this lead to the namespace or topic level is ignored. We can also merge #23769 to this PIP. What's your opinion? @lhotari @yyj8 |
@nodece @yyj8 Please work together to combine both cases since they are both valuable and useful. I think it would make |
This is a great idea and suggestion. Can we consider a strategy that divides into three dimensions: cluster dimension, namespace dimension, and topic dimension. |
Once the consumer level is configured, it is the highest priority, the cluster, namespace, and topic levels will be ignored, please see #23769 (comment) for details.
This is feasible. |
The default configuration for the client is My suggestion is to configure the cluster dimension. If |
The latest client defaults to
I understand your idea, this can make all subscriptions replicated when However, this idea conflicts with PIP-398, which assumes that the consumer-level configuration for In our case, I don't want to configure the My ideaTo combine your case and my case, I suggest introducing a broker configuration for overwriting the consume configuration, and assuming the namespace and topic level are set, the final result will be so like this:
We can also introduce |
… topic levels Signed-off-by: Zixuan Liu <[email protected]>
73a4da4
to
4e7ee76
Compare
@nodece I agree with your suggestion. Then we can make unified code adjustments on your pip, or you can directly merge my code into your code, or after you submit the code, I can synchronize your code and modify the cluster level configuration before submitting. |
@yyj8 Correct. The Breaking Change: For an existing subscription where The new subscription will follow the above priority. /cc @lhotari |
Signed-off-by: Zixuan Liu <[email protected]>
Motivation
Enhance the subscription replication.
Documentation
doc
doc-required
doc-not-needed
doc-complete