codelipenghui edited a comment on issue #6209: [broker] add feature BrokerDeduplicationAcrossProducers URL: https://github.com/apache/pulsar/pull/6209#issuecomment-583688654 @EugenDueck I personally think that there are some disadvantages in using producer name to distinguish producers and producer groups. The presence of a producer with the same name complicates distinguishing producers. For users, if producers in a single group name are grouped producers are easy to understand than the grouped producer are producers with the same name and producer type `Parallel`. If a producer has a producer group name, the workflow more like following steps: 1. Group some producers into a group(with same producer group name), but producer name is different 2. The client specifies the deduplication based on producer name or group name. 3. Broker side, if use producer name, this is the same as now. If we use the producer group name, we just need to use the `groupName/producerName` as the deduplication key. Of course, it needs to be turned on deduplication first at the broker side. In this case, we can still distinguish producers by name(groupName/producerName). Otherwise, we need the IP of the producer or any other information. I hope these make sense to you.
---------------------------------------------------------------- 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
