Class KafkaAdmin.NewTopics

  • Enclosing class:
    KafkaAdmin

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

      Constructors 
      Constructor Description
      NewTopics​(org.apache.kafka.clients.admin.NewTopic... newTopics)
      Construct an instance with the NewTopics.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NewTopics

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