pl.allegro.tech.hermes.consumers.consumer.receiver.MessageCommitter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-consumers Show documentation
Show all versions of hermes-consumers Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.consumers.consumer.receiver;
import pl.allegro.tech.hermes.api.TopicName;
import pl.allegro.tech.hermes.common.kafka.KafkaTopicName;
import pl.allegro.tech.hermes.consumers.consumer.offset.FailedToCommitOffsets;
import pl.allegro.tech.hermes.consumers.consumer.offset.OffsetsToCommit;
public interface MessageCommitter {
FailedToCommitOffsets commitOffsets(OffsetsToCommit offsetsToCommit);
void removeOffset(TopicName topicName, String subscriptionName, KafkaTopicName topic, int partition) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy