Skip to content

Kafka Companion clearing the topics for the component tests #2662

Answered by ozangunalp
cj19 asked this question in Q&A
Discussion options

You must be logged in to vote

You can either delete and recreate the topic. Or call companion.topics().clear(topicNames) to delete records.
Note that deleting records inside a topic doesn't delete committed offsets.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cj19
Comment options

Answer selected by cj19
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 #2658 on June 20, 2024 08:16.