Class ConsumerProducerCleanUpRunner

java.lang.Object
com.bakdata.kafka.consumerproducer.ConsumerProducerCleanUpRunner
All Implemented Interfaces:
CleanUpRunner, AutoCloseable

public final class ConsumerProducerCleanUpRunner extends Object implements CleanUpRunner
Runner to clean() or reset() a ConsumerProducerApp clean() deletes all output topics specified by a ConsumerProducerTopicConfig and the consumer group specified in the constructor. reset() resets the consumer group to the earliest offset. Both methods also run hooks registered in a ConsumerProducerCleanUpConfiguration.