codelipenghui commented on issue #6209: [broker] add feature BrokerDeduplicationAcrossProducers URL: https://github.com/apache/pulsar/pull/6209#issuecomment-583922658 @EugenDueck > One question remains, which is how we configure producer groups - will we do it "on the fly" using the ProducerBuilder? In that case, what happens if two producers are created with the same producerGroupName, but different producer group types or deduplication flags? The broker just needs to check the deduplication is based on producer name or producer group name. The deduplication flags are not for producer groups, it's for producers. If use group name as the deduplication key, the key is group name. If use group name as the deduplication key, the key is groupName/producerName. For producer group type, I think if the type is Exclusive, only can have one producer in this group, others will be rejected. If the type is Failover, only have one active producer, others are standby. If the type is Shared or Parallel, all producers can connect to the broker. Seem very similar to the consumer side. I'm not sure am I understand correctly. @merlimat @sijie @jiazhai
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
