1 package de.juplo.kafka.wordcount.counter;
3 import lombok.AllArgsConstructor;
5 import lombok.NoArgsConstructor;
10 @AllArgsConstructor(staticName = "of")
11 public class TestCounter
17 public static TestCounter of(TestWord word, long counter)
19 return new TestCounter(word.getUser(), word.getWord(), counter);