Class KafkaBrokerTopicManagement
- java.lang.Object
-
- pl.allegro.tech.hermes.management.infrastructure.kafka.service.KafkaBrokerTopicManagement
-
- All Implemented Interfaces:
BrokerTopicManagement
public class KafkaBrokerTopicManagement extends java.lang.Object implements BrokerTopicManagement
-
-
Constructor Summary
Constructors Constructor Description KafkaBrokerTopicManagement(TopicProperties topicProperties, org.apache.kafka.clients.admin.AdminClient kafkaAdminClient, pl.allegro.tech.hermes.common.kafka.KafkaNamesMapper kafkaNamesMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateTopic(pl.allegro.tech.hermes.api.Topic topic)voidremoveTopic(pl.allegro.tech.hermes.api.Topic topic)booleantopicExists(pl.allegro.tech.hermes.api.Topic topic)voidupdateTopic(pl.allegro.tech.hermes.api.Topic topic)
-
-
-
Constructor Detail
-
KafkaBrokerTopicManagement
public KafkaBrokerTopicManagement(TopicProperties topicProperties, org.apache.kafka.clients.admin.AdminClient kafkaAdminClient, pl.allegro.tech.hermes.common.kafka.KafkaNamesMapper kafkaNamesMapper)
-
-
Method Detail
-
createTopic
public void createTopic(pl.allegro.tech.hermes.api.Topic topic)
- Specified by:
createTopicin interfaceBrokerTopicManagement
-
removeTopic
public void removeTopic(pl.allegro.tech.hermes.api.Topic topic)
- Specified by:
removeTopicin interfaceBrokerTopicManagement
-
updateTopic
public void updateTopic(pl.allegro.tech.hermes.api.Topic topic)
- Specified by:
updateTopicin interfaceBrokerTopicManagement
-
topicExists
public boolean topicExists(pl.allegro.tech.hermes.api.Topic topic)
- Specified by:
topicExistsin interfaceBrokerTopicManagement
-
-