codelipenghui commented on issue #2400: PIP-22: Dead Letter Topic URL: https://github.com/apache/incubator-pulsar/pull/2400#issuecomment-416005474 I have a idea for get the delivery count from broker. When consumer send a redeliveryUnackMessages request then broker process the request, broker can return the messageIds(if consumer can contains the message payload) which should send to the DLQ. For this solution, broker must keep the max redelivery count per subscription. A message possible send to different consumer by dispatcher, if keep max redelivery count in consumer, it's difficult to confirm how many times for redelivery. I think that the max redelivery count should use the last consumer config in a subscription. I think this solution is smaller spending.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services