Is there a way to make branch-like operation but to place record in each output stream which predicate evaluates to true? Brach puts record to first match (documentation: A record is placed to one and only one output stream on the first match).
相关问题
- Delete Messages from a Topic in Apache Kafka
- Serializing a serialized Thrift struct to Kafka in
- Spring Integration Kafka vs Spring Kafka
- Kafka broker shutdown while cleaning up log files
- Getting : Error importing Spark Modules : No modul
相关文章
- Kafka doesn't delete old messages in topics
- Kafka + Spark Streaming: constant delay of 1 secon
- Spring Kafka Template implementaion example for se
- How to fetch recent messages from Kafka topic
- Determine the Kafka-Client compatibility with kafk
- Kafka to Google Cloud Platform Dataflow ingestion
- Kafka Producer Metrics
- Spark Structured Streaming + Kafka Integration: Mi
I think you can use something like this:
You can "broadcast" and filter each stream individually:
If you use
stream
variable multiple times, all records are broadcasted to all downstream filters (or any other operator), ie, each filter is executed for each record.