reading only specific messages from kafka topic
问题 Scenario: I am writing data JSON object data into kafka topic while reading I want to read an only specific set of messages based on the value present in the message. I am using kafka-python library. sample messages: {flow_status: "completed", value: 1, active: yes} {flow_status:"failure",value 2, active:yes} Here I want to read only messages having flow_Status as completed. 回答1: In Kafka it's not possible doing something like that. The consumer consumes messages one by one, one after the