KAFKA TUTORIALS Say Hello World to Event Streaming. This site features full code examples using Apache Kafka®, Kafka Streams, and ksqlDB to demonstrate real use cases. Run the examples locally or with Confluent Cloud, Apache Kafka as a fully managed cloud service, deployable on Produce and Consume CLI basics CLI with (de)serializers Primitive keys and values Maintain message ordering Read from an offset and partition Build Applications Your first Kafka producer application Your first Kafka consumer application Your first Kafka Streams application Callbacks Uncaught Exceptions Optimize producer for throughput Non-Java client applications Kafka topics Count the number of messages Update partitions and replicas Route Events Split a stream into substreams Merge many streams into one Choose the output topic dynamically Filter a stream of events Find distinct events Manipulate Streams Convert a KStream to a KTable Rekey a stream with a value Rekey a stream with a function Name stateful operations Handle deserialization errors Convert serialization format Scheduling operations Expire data in a KTable with TTLs Expire data in a KTable created from aggregate() Aggregate data Count a stream of events Sum a stream of events Find the min/max Calculate a running average Cogrouping aggregates Join data Join a stream and a table Join a stream and a stream Join a table and a table Join two tables with a foreign key Multi-join expressions Windowing Operations Tumbling windows Session windows Hopping windows Sliding windows Emit a final result Anomaly detection Event-time semantics Connect data sources & sinks Generate simple mock Kafka data Generate complex mock Kafka data Add a key to a stream from a JDBC source Convert timezone before sending to a database Access Fields Transform a stream of events Heterogenous JSON Nested JSON Flatten deeply nested events Manipulate Values User-defined functions (UDF) Concatenation Mask data Calculate column difference Calculate lat-long distance Be the first to be notified about new tutorials SIGN UP Apache, Apache Kafka, Kafka and the Kafka logo are trademarks of the Apache Software Foundation. The Apache Software Foundation has no affiliation with and does not endorse these materials. Product Confluent Platform KSQL Subscription Professional Services Training Customers Cloud Confluent Cloud Support Sign Up Log In Solutions Industry Solutions Microservices Internet of Things Financial Services Fraud Detection Customer 360 Azure Hybrid Streaming Developers What is Kafka? Resources Online Talk Meetups Kafka Summit Confluent Developer Docs Blog About Company Careers Partners News Events Contact Copyright © Confluent, Inc. 2020. Privacy Policy | Terms & Conditions | Modern Slavery Policy