[
https://issues.apache.org/jira/browse/KAFKA-14754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Nee resolved KAFKA-14754.
--------------------------------
Resolution: Fixed
> improve consumer under example package
> --------------------------------------
>
> Key: KAFKA-14754
> URL: https://issues.apache.org/jira/browse/KAFKA-14754
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Luke Chen
> Assignee: Philip Nee
> Priority: Major
>
> I found the producer and consumer example is not in a good form. For example:
> # Both consumer and producer doesn't gracefully close the resource after
> completed
> # The example doesn't provide a good example to handle different kind of
> exceptions. It's just a happy path example
> # No clear comment to instruct users why we should do this, and what it is
> doing for each operation.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)