Skip to content

How to use companion.consumeXYZ() twice? #2618

Answered by ozangunalp
octopus-prime asked this question in Q&A
Discussion options

You must be logged in to vote

I don't remember very well but I think you need to pass the names of the topics you want to "clear", like companion.topics().clear("bar");
Also, clearing the topic doesn't clear the offsets.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@octopus-prime
Comment options

Answer selected by ozangunalp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2605 on May 15, 2024 18:18.