pl.allegro.tech.hermes.common.broker.BrokerStorage 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.
package pl.allegro.tech.hermes.common.broker;
import org.apache.kafka.common.TopicPartition;
import java.util.List;
public interface BrokerStorage {
int readLeaderForPartition(TopicPartition topicAndPartition);
List readPartitionsIds(String topicName);
}