`auto.offset.reset` konfigurierbar gemacht
[demos/kafka/training] / src / main / java / de / juplo / kafka / Application.java
index 85d0e07..dd4b20a 100644 (file)
@@ -32,7 +32,8 @@ public class Application
             properties.getBootstrapServer(),
             properties.getGroupId(),
             properties.getClientId(),
-            properties.getTopic());
+            properties.getTopic(),
+            properties.getAutoOffsetReset());
 
     consumer.start();