EugenDueck edited a comment on issue #6209: [broker] add feature 
BrokerDeduplicationAcrossProducers
URL: https://github.com/apache/pulsar/pull/6209#issuecomment-583777122
 
 
   @codelipenghui Not sure I understand what you don't understand about the 
_producer group type_, as it would have the same function as with my current 
solution, with the exception that we don't need an `Exclusive` value. So the 
_producer group type_ would have one of two possible values:
   
   1. `Parallel`, which is the default mode where multiple producers with the 
same `producerGroupName` (but different `producerName`s) can be connected to a 
broker at the same time and produce concurrently
   1. 'Failover', which is the mode merlimat suggested above.
   
   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? I would suggest that as long 
as a producer group is alive, we reject attempts to connect with a different 
_producer group type_ or _deduplication_ flag. Or were you thinking of adding a 
new API or configuration for creating and managing producer groups? (This 
sounds like more complexity)

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