top10: 1.3.0 - Refined input JSON to match the new general stats-format
[demos/kafka/wordcount] / src / main / java / de / juplo / kafka / wordcount / top10 / Key.java
1 package de.juplo.kafka.wordcount.top10;
2
3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4 import lombok.*;
5
6
7 @NoArgsConstructor
8 @AllArgsConstructor(
9     staticName = "of",
10     access = AccessLevel.PACKAGE)
11 @Data
12 @JsonIgnoreProperties(ignoreUnknown = true)
13 public class Key
14 {
15   private StatsType type;
16   private String channel;
17   private String key;
18 }