You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2023/02/24 03:51:00 UTC

[jira] [Created] (KAFKA-14753) improve producer under example package

Luke Chen created KAFKA-14753:
---------------------------------

             Summary: 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


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)