oneby-wang commented on code in PR #24925:
URL: https://github.com/apache/pulsar/pull/24925#discussion_r2481426592
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractReplicator.java:
##########
@@ -197,6 +198,7 @@ public void startProducer() {
ProducerBuilderImpl builderImpl = (ProducerBuilderImpl)
producerBuilder;
builderImpl.getConf().setNonPartitionedTopicExpected(true);
builderImpl.getConf().setReplProducer(true);
+ builderImpl.getConf().setAccessMode(ProducerAccessMode.Shared);
Review Comment:
Broker configuration can be overwritten by `brokerClient_` prefix params, so
I overwrite it again here to make sure accessMode is
`ProducerAccessMode.Shared`.
--
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]