GET STARTED FREE
GET STARTED FREE
Courses
What are the courses?
Video courses covering Apache Kafka basics, advanced concepts, setup and use cases, and everything in between.
View all courses
Kafka® 101
NEW
Kafka® ️Internal Architecture
NEW
Kafka® Connect 101
NEW
️Kafka® Security
Kafka Streams 101
Event Sourcing and Storage
Data Mesh 101
ksqlDB 101
Inside ksqlDB
Spring Frameworks and Kafka®
Building Data Pipelines
NEW
Confluent Cloud Networking
Learn
Pick your learning path
A wide range of resources to get you started
Start Learning
Articles
Deep-Dives into key concepts
Patterns
Architectures for event streaming
FAQs
Q & A about Kafka®️ and its ecosystem
100 Days of code
A self-directed learning path
Blog
The Confluent blog
Podcast
Our podcast, Streaming Audio
Confluent Developer Live
Free live professional training
Coding in Motion
Build a real-time streaming app
Build
DESIGN. BUILD. RUN.
Build a client app, explore use cases, and build on our demos and resources
Start Building
Language Guides
Build apps in your favorite language
Tutorials
Hands-on stream processing examples
Demos
More resources to get you started
Community
Join the Community
Confluent proudly supports the global community of streaming platforms, real-time data streams, Apache Kafka®️, and its ecosystems
Learn More
Kafka Summit and Current Conferences
Premier data streaming events
Meetups & Events
Kafka and data streaming community
Ask the Community
Community forums and Slack channels
Community Catalysts
Sharing expertise with the community
Docs
Get started for free
Use the Cloud quick start to get up and running with Confluent Cloud using a basic cluster
Learn more
Documentation
Guides, tutorials, and reference
Confluent Cloud
Fully managed, cloud-native service
Confluent Platform
Enterprise-grade distribution of Kafka
Confluent Connectors
Stream data between Kafka and other systems
Tools
Operational and developer tools
Clients
Use clients to produce and consume messages
Search
Courses
What are the courses?
Video courses covering Apache Kafka basics, advanced concepts, setup and use cases, and everything in between.
View all courses
Kafka® 101
NEW
Kafka® ️Internal Architecture
NEW
Kafka® Connect 101
NEW
️Kafka® Security
Kafka Streams 101
Event Sourcing and Storage
Data Mesh 101
ksqlDB 101
Inside ksqlDB
Spring Frameworks and Kafka®
Building Data Pipelines
NEW
Confluent Cloud Networking
Learn
Pick your learning path
A wide range of resources to get you started
Start Learning
Articles
Deep-Dives into key concepts
Patterns
Architectures for event streaming
FAQs
Q & A about Kafka®️ and its ecosystem
100 Days of code
A self-directed learning path
Blog
The Confluent blog
Podcast
Our podcast, Streaming Audio
Confluent Developer Live
Free live professional training
Coding in Motion
Build a real-time streaming app
Build
DESIGN. BUILD. RUN.
Build a client app, explore use cases, and build on our demos and resources
Start Building
Language Guides
Build apps in your favorite language
Tutorials
Hands-on stream processing examples
Demos
More resources to get you started
Community
Join the Community
Confluent proudly supports the global community of streaming platforms, real-time data streams, Apache Kafka®️, and its ecosystems
Learn More
Kafka Summit and Current Conferences
Premier data streaming events
Meetups & Events
Kafka and data streaming community
Ask the Community
Community forums and Slack channels
Community Catalysts
Sharing expertise with the community
Docs
Get started for free
Use the Cloud quick start to get up and running with Confluent Cloud using a basic cluster
Learn more
Documentation
Guides, tutorials, and reference
Confluent Cloud
Fully managed, cloud-native service
Confluent Platform
Enterprise-grade distribution of Kafka
Confluent Connectors
Stream data between Kafka and other systems
Tools
Operational and developer tools
Clients
Use clients to produce and consume messages
Search
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 tutorials
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!