
pl.allegro.tech.hermes.common.kafka.offset.SubscriptionOffsetChangeIndicator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-common Show documentation
Show all versions of hermes-common Show documentation
Fast and reliable message broker built on top of Kafka.
The newest version!
package pl.allegro.tech.hermes.common.kafka.offset;
import java.util.List;
import java.util.Set;
import pl.allegro.tech.hermes.api.TopicName;
import pl.allegro.tech.hermes.common.kafka.KafkaTopic;
import pl.allegro.tech.hermes.common.kafka.KafkaTopicName;
public interface SubscriptionOffsetChangeIndicator {
void setSubscriptionOffset(
TopicName topicName,
String subscriptionName,
String brokersClusterName,
PartitionOffset partitionOffset);
PartitionOffsets getSubscriptionOffsets(
TopicName topic, String subscriptionName, String brokersClusterName, Set partitions);
boolean areOffsetsMoved(
TopicName topicName,
String subscriptionName,
String brokersClusterName,
KafkaTopic kafkaTopic,
List partitionIds);
void removeOffset(
TopicName topicName,
String subscriptionName,
String brokersClusterName,
KafkaTopicName kafkaTopicName,
int partitionId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy