EugenDueck edited a comment on issue #6209: [broker] add feature 
BrokerDeduplicationAcrossProducers
URL: https://github.com/apache/pulsar/pull/6209#issuecomment-583628102
 
 
   @codelipenghui I did not add a `producerGroupName` field. What I added is a 
producer group mode field. If the producer group mode is `Exclusive` (the 
default), everything stays as it was before: Only one producer with the same 
name can be connected at any one time. If however the group mode is `Parallel`, 
then multiple producers with the same `producerName` can connect at the same 
time.
   
   So _group mode_ and _deduplication_ are orthogonal and we don't need another 
deduplication flag. In order to have deduplication across a producer group, all 
that needs to be done is
   
   1. use the parallel producer group mode and
   1. set the usual `brokerDeduplicationEnabled` to `true`.

----------------------------------------------------------------
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

Reply via email to