
no.finn.retriableconsumer.Restartable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of retriable-kafka-consumer Show documentation
Show all versions of retriable-kafka-consumer Show documentation
Retries processing when consuming records from kafka.
package no.finn.retriableconsumer;
import java.io.Closeable;
public interface Restartable extends Runnable, Closeable {
/**
* Check if this Runnable is alive. If not, it will be restarted.
*
* @return true if it is running, false if not.
*/
boolean isRunning();
String getName();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy