Cross-posting from stackoverflow
<https://stackoverflow.com/questions/72420966/reset-kafka-testcontainers-without-clearing-and-recreating-the-testcontainer-aft>



<https://stackoverflow.com/posts/72420966/timeline>

I am using kafka testcontainers with JUnit5. Can someone let me know how
can I delete data from Kafka testcontainers after each test so that I don't
have to destroy and recreate the kafka testcontainer every time.

   - Test Container Version - 1.6.2
   - Docker Kafka Image Name - confluentinc/cp-kafka:5.2.1

Reply via email to