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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -