AndrewJSchofield opened a new pull request, #16925: URL: https://github.com/apache/kafka/pull/16925
Now that ConsumerRecord.deliveryCount() exists, enhance kafka-console-share-consumer.sh to exploit it. Added support to the DefaultMessageFormatter and the option `print.delivery` to the usage message for `kafka-console-share-consumer.sh`. Note that it was not added to `kafka-console-consumer.sh` even though the option would be recognised - this is because delivery with a consumer group does not count deliveries, and the result would include `Delivery:NOT_PRESENT` for all records if it was enabled - not really that useful with a consumer group. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org