[
https://issues.apache.org/jira/browse/KAFKA-14753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Nee resolved KAFKA-14753.
--------------------------------
Resolution: Fixed
> improve producer under example package
> --------------------------------------
>
> Key: KAFKA-14753
> URL: https://issues.apache.org/jira/browse/KAFKA-14753
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Luke Chen
> Assignee: Federico Valeri
> 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)