Class KafkaAdmin.NewTopics

java.lang.Object
org.springframework.kafka.core.KafkaAdmin.NewTopics
Enclosing class:
KafkaAdmin

public static class KafkaAdmin.NewTopics extends Object
Wrapper for a collection of NewTopic to facilitate declaring multiple topics as a single bean.
Since:
2.7
  • Constructor Details

    • NewTopics

      public NewTopics(org.apache.kafka.clients.admin.NewTopic... newTopics)
      Construct an instance with the NewTopics.
      Parameters:
      newTopics - the topics.