You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Pavel Micka (JIRA)" <ji...@apache.org> on 2017/10/06 20:44:00 UTC
[jira] [Created] (KAFKA-6020) Broker side filtering
Pavel Micka created KAFKA-6020:
----------------------------------
Summary: Broker side filtering
Key: KAFKA-6020
URL: https://issues.apache.org/jira/browse/KAFKA-6020
Project: Kafka
Issue Type: Improvement
Components: consumer
Reporter: Pavel Micka
Currently, it is not possible to filter messages on broker side. Filtering messages on broker side is convenient for filter with very low selectivity (one message in few thousands). In my case it means to transfer several GB of data to consumer, throw it away, take one message and do it again...
While I understand that filtering by message body is not feasible (for performance reasons), I propose to filter just by message key prefix. This can be achieved even without any deserialization, as the prefix to be matched can be passed as an array (hence the broker would do just array prefix compare).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)