Package es.kukenan.smartfi.kafka.config
Class TopicConfig
java.lang.Object
es.kukenan.smartfi.kafka.config.TopicConfig
Create the configuration needed to exchange requests and responses through the mail channel.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.clients.admin.NewTopicEventConsumerFactory.org.springframework.kafka.core.KafkaAdminEventConsumerFactory.
-
Field Details
-
bootstrapAddress
Create the configuration needed to exchange requests and responses through the mail channel. -
topicName
Create the configuration needed to exchange requests and responses through the mail channel.
-
-
Constructor Details
-
TopicConfig
public TopicConfig()
-
-
Method Details
-
eventTopic
@Bean public org.apache.kafka.clients.admin.NewTopic eventTopic()EventConsumerFactory.- Returns:
- consumer Factory.
-
kafkaAdmin
@Bean public org.springframework.kafka.core.KafkaAdmin kafkaAdmin()EventConsumerFactory.- Returns:
- consumer Factory.
-