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.KafkaListener;
11 public class Application
13 @KafkaListener(id = "supersimple", topics = "out")
14 public void recieve(String message)
16 log.info("Recieved message: {}", message);
19 public static void main(String[] args)
21 SpringApplication.run(Application.class, args);