Skip to content

rd_kafka_consumer_poll after rd_kafka_pause_partitions may return a record from the previously-paused partition #3956

Answered by laser
laser asked this question in Q&A
Discussion options

You must be logged in to vote

OK, I figured it out, and will leave my answer here so that others might avoid asking the same dumb question that I just asked:

One must wait to pause until one has an assignment, and there's an API that one can use to learn of their assignment (link). The 0026-consume_pause.c served as a useful guide.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by laser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant