WIP
[demos/kafka/training] / src / main / java / de / juplo / kafka / Application.java
index 862c5f2..376c4d3 100644 (file)
@@ -7,8 +7,6 @@ import org.springframework.boot.ApplicationArguments;
 import org.springframework.boot.ApplicationRunner;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.context.annotation.Bean;
-import org.springframework.kafka.core.ConsumerFactory;
 
 import javax.annotation.PreDestroy;
 import java.util.concurrent.ExecutionException;
@@ -23,7 +21,7 @@ public class Application implements ApplicationRunner
   @Autowired
   ExecutorService executorService;
   @Autowired
-  Consumer<String, Message> consumer;
+  Consumer<?, ?> consumer;
   @Autowired
   SimpleConsumer simpleConsumer;