You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "anshvnm (via GitHub)" <gi...@apache.org> on 2023/01/23 21:51:37 UTC

[GitHub] [kafka] anshvnm opened a new pull request, #13150: MINOR: Add new functions to client example Producer for sending messages to multiple topics, with key, and timestamp

anshvnm opened a new pull request, #13150:
URL: https://github.com/apache/kafka/pull/13150

   This pull request adds new functions to the Producer.java file in the examples directory to provide more flexibility for clients using Kafka. The `sendToMultipleTopics` method allows clients to send a message to multiple topics in a round-robin fashion. The `sendWithKey` method allows clients to send a message to a specific topic with a key for custom partitioning. The `sendWithTimestamp` method allows clients to send a message to a specific topic with a timestamp for custom time-based event streaming.
   
   These new functions will help clients to have more control over the messages they are sending and to improve the functionality of their producer when using the examples in the repository. As a result, clients will be able to better understand and utilize the capabilities of Kafka.
   


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [kafka] github-actions[bot] commented on pull request #13150: MINOR: Add new functions to client example Producer for sending messages to multiple topics, with key, and timestamp

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13150:
URL: https://github.com/apache/kafka/pull/13150#issuecomment-1585816364

   This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please ask a committer for review. If the PR has  merge conflicts, please update it with the latest from trunk (or appropriate release branch) <p> If this PR is no longer valid or desired, please feel free to close it. If no activity occurrs in the next 30 days, it will be automatically closed.


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org