Class Application


  • @SpringBootApplication
    public class Application
    extends java.lang.Object
    Code snippet for quick start.
    Since:
    2.7
    Author:
    Gary Russell
    • Constructor Summary

      Constructors 
      Constructor Description
      Application()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      org.springframework.boot.ApplicationRunner runner​(KafkaTemplate<java.lang.String,​java.lang.String> template)  
      org.apache.kafka.clients.admin.NewTopic topic()  
      • Methods inherited from class java.lang.Object

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

      • Application

        public Application()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • topic

        @Bean
        public org.apache.kafka.clients.admin.NewTopic topic()
      • runner

        @Bean
        public org.springframework.boot.ApplicationRunner runner​(KafkaTemplate<java.lang.String,​java.lang.String> template)