no.mnemonic.services.common.hazelcast.consumer.TransactionalConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hazelcast5-consumer Show documentation
Show all versions of hazelcast5-consumer Show documentation
Implementation of a Kafka consumer using a Hazelcast 4 or 5 as buffer
package no.mnemonic.services.common.hazelcast.consumer;
import no.mnemonic.services.common.hazelcast.consumer.exception.ConsumerGaveUpException;
import java.io.Closeable;
import java.io.IOException;
import java.util.Collection;
public interface TransactionalConsumer extends Closeable {
void consume(Collection items) throws IOException, InterruptedException, ConsumerGaveUpException;
}