GET STARTED FREE
GET STARTED FREE
Courses
Apache Kafka 101
Kafka Connect 101
Kafka Streams 101
Data Mesh 101
ksqlDB 101
Inside ksqlDB
Spring Framework and Apache Kafka
Building Data Pipelines with Apache Kafka and Confluent
Event Sourcing and Event Storage with Apache Kafka
Kafka Internals
Learn
Articles
Patterns
FAQs
100 Days of Code
Blog
Podcast
Confluent Developer Live
Build
Language Guides
Stream Processing Cookbook
Demos
Community
Kafka Summit Conference
Meetups & Events
Ask the Community
Community Catalysts
Docs
Docs Home
Confluent Cloud
Confluent Platform
Confluent Connectors
Tools
Clients
Courses
Apache Kafka 101
Kafka Connect 101
Kafka Streams 101
Data Mesh 101
ksqlDB 101
Inside ksqlDB
Spring Framework and Apache Kafka
Building Data Pipelines with Apache Kafka and Confluent
Event Sourcing and Event Storage with Apache Kafka
Kafka Internals
Learn
Articles
Patterns
FAQs
100 Days of Code
Blog
Podcast
Confluent Developer Live
Build
Language Guides
Stream Processing Cookbook
Demos
Community
Kafka Summit Conference
Meetups & Events
Ask the Community
Community Catalysts
Docs
Docs Home
Confluent Cloud
Confluent Platform
Confluent Connectors
Tools
Clients
GET STARTED FREE
Feedback
How to filter a stream of events
Question:
How do you filter messages in a Kafka topic to contain only those that you're interested in?
< Back to recipes
Hands-on code example:
Confluent Cloud
ksqlDB
Kafka Streams
.0
Basic Kafka
Confluent Cloud
ksqlDB
Kafka Streams
Basic Kafka
A tutorial for this doesn't exist yet, but it could...
Help build it!