How to use companion.consumeXYZ() twice? #2618
Answered
by
ozangunalp
octopus-prime
asked this question in
Q&A
-
Here a simple test
The test succeeds ony for repetition 1.
or
Any ideas? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
ozangunalp
May 7, 2024
Replies: 2 comments 1 reply
-
Here an other test - same problems
Works only for test1 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't remember very well but I think you need to pass the names of the topics you want to "clear", like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ozangunalp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.