1 package de.juplo.kafka;
3 import lombok.extern.slf4j.Slf4j;
4 import org.springframework.boot.SpringApplication;
5 import org.springframework.boot.autoconfigure.SpringBootApplication;
6 import org.springframework.kafka.annotation.EnableKafka;
7 import org.springframework.kafka.annotation.KafkaListener;
12 public class Application
14 @KafkaListener(id = "supersimple", topics = "out")
15 public void recieve(String message)
17 log.info("Recieved message: {}", message);
20 public static void main(String[] args)
22 SpringApplication.run(Application.class, args);