X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fde%2Fjuplo%2Fkafka%2FStatisticsDocument.java;fp=src%2Fmain%2Fjava%2Fde%2Fjuplo%2Fkafka%2FStatisticsDocument.java;h=415ef5c1502967d53e54e32261441a6d3081f646;hb=cfbe7dcd3318ee846cb5890eea4328e36c5aa364;hp=1244f457b21ea7bfc98135772c1f0aaf8617e94b;hpb=2768e0f97c441ade5ce8ff371aa590fdc3cfd6c6;p=demos%2Fkafka%2Ftraining diff --git a/src/main/java/de/juplo/kafka/StatisticsDocument.java b/src/main/java/de/juplo/kafka/StatisticsDocument.java index 1244f45..415ef5c 100644 --- a/src/main/java/de/juplo/kafka/StatisticsDocument.java +++ b/src/main/java/de/juplo/kafka/StatisticsDocument.java @@ -14,7 +14,6 @@ public class StatisticsDocument { @Id public String id; - public long offset = -1l; public Map statistics; public StatisticsDocument() @@ -27,10 +26,9 @@ public class StatisticsDocument this.statistics = new HashMap<>(); } - public StatisticsDocument(Integer partition, Map statistics, long offset) + public StatisticsDocument(Integer partition, Map statistics) { this.id = Integer.toString(partition); this.statistics = statistics; - this.offset = offset; } }