top10: 1.3.0 - Refined input JSON to match the new general stats-format
[demos/kafka/wordcount] / src / test / java / de / juplo / kafka / wordcount / counter / TestCounter.java
index d98ae64..b78c429 100644 (file)
@@ -10,12 +10,6 @@ import lombok.NoArgsConstructor;
 @AllArgsConstructor(staticName = "of")
 public class TestCounter
 {
-  String user;
-  String word;
+  String key;
   long counter;
-
-  public static TestCounter of(TestWord word, long counter)
-  {
-    return new TestCounter(word.getUser(), word.getWord(), counter);
-  }
 }