EugenDueck commented on issue #6209: [broker] add feature 
BrokerDeduplicationAcrossProducers
URL: https://github.com/apache/pulsar/pull/6209#issuecomment-583777122
 
 
   @codelipenghui Not sure I fully understand your question/statement, but the 
_producer group type_ 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 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 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_? As long as a producer group is alive, I would suggest rejecting 
attempts to connect with a different _producer group type_. 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