yyj8 commented on PR #23770:
URL: https://github.com/apache/pulsar/pull/23770#issuecomment-2560530864

   > @yyj8
   > 
   > > 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)](https://github.com/apache/pulsar/pull/23769#issuecomment-2559221226) 
for details.
   > 
   > > (2)PR #23769 add the function of dynamically configuring parameter 
`replicateAllSubscriptionState` values through the command `bin/pulse admin 
brokers update-dynamic-config  --config replicateAllSubscriptionState --value 
true/false`
   > 
   > This is feasible.
   
   The default configuration for the client is 
`replicateSubscriptionState=false`. In the scenario of cluster migration, we 
hope that there is no need for business code modification, and the server will 
control the replication of the state of all subscriptions in the cluster 
uniformly. If the configuration priority of the client is the highest, and the 
client does not display the configuration `replicateSubscriptionState=true`, 
this goes against our original intention of not requiring business code 
modification.
   
   My suggestion is to configure the cluster dimension. If 
`repliceAllSubscriptState=true` is enabled, it will be a mandatory 
configuration to overwrite the client. If `repliceAllSubscriptState=false`, 
then use the client's configuration.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to