ROT: Rückbau auf automatische Commits - Testfälle laufen nicht mehr
[demos/kafka/training] / src / main / java / de / juplo / kafka / StateDocument.java
index 0540e3f..c85cc38 100644 (file)
@@ -14,7 +14,6 @@ public class StateDocument
 {
   @Id
   public String id;
-  public long offset = -1l;
   public Map<String, Long> state;
 
   public StateDocument()
@@ -29,11 +28,9 @@ public class StateDocument
 
   public StateDocument(
       Integer partition,
-      Map<String, Long> state,
-      long offset)
+      Map<String, Long> state)
   {
     this.id = Integer.toString(partition);
     this.state = state;
-    this.offset = offset;
   }
 }