projects
/
demos
/
kafka
/
training
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a98ec2d
)
Die Filter-Strategie muss nicht explizit gesetzt werden
author
Kai Moritz
<kai@juplo.de>
Thu, 13 Feb 2025 18:56:01 +0000
(19:56 +0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 25 Mar 2025 19:05:05 +0000
(20:05 +0100)
src/main/java/de/juplo/kafka/ExampleConsumer.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/ExampleConsumer.java
b/src/main/java/de/juplo/kafka/ExampleConsumer.java
index
2efce13
..
7dec6be
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ExampleConsumer.java
+++ b/
src/main/java/de/juplo/kafka/ExampleConsumer.java
@@
-15,9
+15,7
@@
public class ExampleConsumer
private long consumed = 0;
- @KafkaListener(
- topics = "${juplo.consumer.topic}",
- filter = "addNumberRecordFilterStrategy")
+ @KafkaListener(topics = "${juplo.consumer.topic}")
private void addNumber(MessageAddNumber addNumber)
{
log.info("{} - Adding number {}", id, addNumber.getNext());