python-kafka: Is possible for a consumer to skip messages based on message attributes? -
given set of messages, each priority attribute. possible consumer skip or ignore messages priority attribute not high enough?
at first deserialized messages consumed kafka-python consumer, checked priority level , discarded messages did not meet required priority level.
but concerned if message large, considerable time wasted deserializing messages not processed further. there not way done upon reading kafka queue?
kafka not support custom metadata in way way consumer filter out messages read payload. there improvement proposal under discussion address kind of situation , might worth following.
Comments
Post a Comment