projects
/
demos
/
kafka
/
training
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Vereinfachte Version der auf Spring Kafka basierenden Implementierung
[demos/kafka/training]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
AdderResult.java
1
package de.juplo.kafka;
2
3
import lombok.EqualsAndHashCode;
4
import lombok.Getter;
5
import lombok.RequiredArgsConstructor;
6
7
8
@RequiredArgsConstructor
9
@Getter
10
@EqualsAndHashCode
11
public class AdderResult
12
{
13
final int number;
14
final long sum;
15
16
@Override
17
public String toString()
18
{
19
return "sum(" + number + ") = " + sum;
20
}
21
}