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, Choi Wang Gyu
-
Constructor Summary
ConstructorsConstructorDescriptionNewTopics(org.apache.kafka.clients.admin.NewTopic... newTopics) Construct an instance with theNewTopics. -
Method Summary
-
Constructor Details
-
NewTopics
public NewTopics(org.apache.kafka.clients.admin.NewTopic... newTopics) Construct an instance with theNewTopics.- Parameters:
newTopics- the topics.
-