Skip to content

Conversation

@DL1231
Copy link
Collaborator

@DL1231 DL1231 commented Dec 20, 2025

Updated the Javadoc for Consumer#committed to specify that null is
returned for nonexistent partitions instead of throwing an exception.

@github-actions github-actions bot added triage PRs from the community consumer clients small Small PRs labels Dec 20, 2025
@DL1231 DL1231 requested a review from chia7712 December 20, 2025 03:21
* another). The returned offsets will be used as the position for the consumer in the event of a failure.
* <p>
* If any of the partitions requested do not exist, an exception would be thrown.
* If any of the partitions requested do not exist, the result map will contain null as the value for that partition.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update the docs for the method committed(Set<TopicPartition>, Duration)

@github-actions github-actions bot removed the triage PRs from the community label Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants