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
- Author:
- Gary Russell, Artem Bilan, Adrian Gygax, Sanghyeok An, Valentina Armenise, Anders Swanson, Omer Celik
-
Constructor Summary
ConstructorsConstructorDescriptionNewTopics
(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.
-