Package org.springframework.kafka.core
Class KafkaAdmin.NewTopics
java.lang.Object
org.springframework.kafka.core.KafkaAdmin.NewTopics
- Enclosing class:
- KafkaAdmin
Wrapper for a collection of
NewTopic
to facilitate declaring multiple
topics as a single bean.- Since:
- 2.7
-
Constructor Summary
ConstructorDescriptionNewTopics
(org.apache.kafka.clients.admin.NewTopic... newTopics) Construct an instance with theNewTopic
s. -
Method Summary
-
Constructor Details
-
NewTopics
public NewTopics(org.apache.kafka.clients.admin.NewTopic... newTopics) Construct an instance with theNewTopic
s.- Parameters:
newTopics
- the topics.
-