1 package de.juplo.kafka;
3 import lombok.RequiredArgsConstructor;
4 import org.springframework.web.bind.annotation.GetMapping;
5 import org.springframework.web.bind.annotation.PostMapping;
6 import org.springframework.web.bind.annotation.RestController;
9 import java.util.concurrent.ExecutionException;
13 @RequiredArgsConstructor
14 public class DriverController
16 private final EndlessConsumer consumer;
26 public void stop() throws ExecutionException, InterruptedException
33 public Map<Integer, Map<String, Integer>> seen()
35 return consumer.getSeen();