Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change signature for seek_partitions #596

Merged
merged 2 commits into from
Jul 6, 2023
Merged

Conversation

scanterog
Copy link
Collaborator

Following librdkafka, individual partition errors should be reported in the per-partitionerror field of TopicPartitionList elements.

Example where errors are returned for each partition rather than the method call (which succeded)
TopicPartitionList {test-seek/0: offset=Offset(3) metadata="", error=Err(KafkaError (Offset fetch error: InProgress (Local: Operation in progress))); test-seek/1: offset=Offset(0) metadata="", error=Err(KafkaError (Offset fetch error: InProgress (Local: Operation in progress))); test-seek/2: offset=Offset(10) metadata="", error=Err(KafkaError (Offset fetch error: InProgress (Local: Operation in progress)))}

@scanterog scanterog force-pushed the scanterog/seek-partitions branch from 9c3e896 to 020700d Compare July 5, 2023 22:07
Copy link
Collaborator

@davidblewett davidblewett left a comment

Choose a reason for hiding this comment

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

LGTM

@davidblewett davidblewett merged commit a244889 into master Jul 6, 2023
@scanterog scanterog deleted the scanterog/seek-partitions branch October 31, 2023 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants