Replies: 1 comment
-
Prefiltering is not supported (and I believe RecordFilterStrategy is a Spring thing, not Kafka). You will need to filter out messages in your application logic. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In our environment, we have a topic with 1000+ message flooding in per second, and 20+ micro-services written in Java and Python subscribed to the topic. Each service consumes only the messages it is interested depending on a particular message key and/or header.
In Java it seems to be able to use RecordFilterStrategy to filter messages without consuming each actual message.
Where as in Python, which depends on a librdkafka based Python binding, it consumes entire batch each time, then is able to fitler.
Question: Is prefiltering without consuming the messages also possible with librdkafka?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions