X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fde%2Fjuplo%2Fkafka%2FStatisticsDocument.java;h=415ef5c1502967d53e54e32261441a6d3081f646;hb=cfbe7dcd3318ee846cb5890eea4328e36c5aa364;hp=96ebfb1c070dbaf17eb7f6c6681fd7786b678f6a;hpb=620191782035383e0083dc348e4941c9cec0d994;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 96ebfb1..415ef5c 100644 --- a/src/main/java/de/juplo/kafka/StatisticsDocument.java +++ b/src/main/java/de/juplo/kafka/StatisticsDocument.java @@ -14,8 +14,7 @@ public class StatisticsDocument { @Id public String id; - public long offset; - public Map statistics; + 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; } }