projects
/
demos
/
kafka
/
training
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP
[demos/kafka/training]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
StateDocument.java
diff --git
a/src/main/java/de/juplo/kafka/StateDocument.java
b/src/main/java/de/juplo/kafka/StateDocument.java
index
52968cd
..
2583c8e
100644
(file)
--- a/
src/main/java/de/juplo/kafka/StateDocument.java
+++ b/
src/main/java/de/juplo/kafka/StateDocument.java
@@
-17,7
+17,6
@@
public class StateDocument
public String id;
public long offset = -1l;
public Map<String, Long> state;
public String id;
public long offset = -1l;
public Map<String, Long> state;
- public Map<String, List<Long>> seen;
public StateDocument()
{
public StateDocument()
{
@@
-27,16
+26,15
@@
public class StateDocument
{
this.id = Integer.toString(partition);
this.state = new HashMap<>();
{
this.id = Integer.toString(partition);
this.state = new HashMap<>();
- this.seen = new HashMap<>();
}
public StateDocument(
Integer partition,
Map<String, Long> state,
}
public StateDocument(
Integer partition,
Map<String, Long> state,
-
Map<String, List<Long>> seen
)
+
long offset
)
{
this.id = Integer.toString(partition);
this.state = state;
{
this.id = Integer.toString(partition);
this.state = state;
- this.
seen = seen
;
+ this.
offset = offset
;
}
}
}
}