public class KafkaBrokerTopicManagement extends java.lang.Object implements BrokerTopicManagement
| Constructor and Description |
|---|
KafkaBrokerTopicManagement(TopicProperties topicProperties,
org.apache.kafka.clients.admin.AdminClient kafkaAdminClient,
pl.allegro.tech.hermes.common.kafka.KafkaNamesMapper kafkaNamesMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
createTopic(pl.allegro.tech.hermes.api.Topic topic) |
void |
removeTopic(pl.allegro.tech.hermes.api.Topic topic) |
boolean |
topicExists(pl.allegro.tech.hermes.api.Topic topic) |
void |
updateTopic(pl.allegro.tech.hermes.api.Topic topic) |
public KafkaBrokerTopicManagement(TopicProperties topicProperties, org.apache.kafka.clients.admin.AdminClient kafkaAdminClient, pl.allegro.tech.hermes.common.kafka.KafkaNamesMapper kafkaNamesMapper)
public void createTopic(pl.allegro.tech.hermes.api.Topic topic)
createTopic in interface BrokerTopicManagementpublic void removeTopic(pl.allegro.tech.hermes.api.Topic topic)
removeTopic in interface BrokerTopicManagementpublic void updateTopic(pl.allegro.tech.hermes.api.Topic topic)
updateTopic in interface BrokerTopicManagementpublic boolean topicExists(pl.allegro.tech.hermes.api.Topic topic)
topicExists in interface BrokerTopicManagement