Der Test verwendet die `@Bean` von `EndlessConsumer`
[demos/kafka/training] / src / main / java / de / juplo / kafka / StateDocument.java
index c10a50c..ae8eb51 100644 (file)
@@ -15,7 +15,6 @@ public class StateDocument
 {
   @Id
   public String id;
-  public long offset = -1l;
   public Map<String, AdderResult> state;
   public Map<String, List<AdderResult>> results;
 
@@ -33,12 +32,10 @@ public class StateDocument
   public StateDocument(
       Integer partition,
       Map<String, AdderResult> state,
-      Map<String, List<AdderResult>> results,
-      long offset)
+      Map<String, List<AdderResult>> results)
   {
     this.id = Integer.toString(partition);
     this.state = state;
     this.results = results;
-    this.offset = offset;
   }
 }