Apache Kafka is an open-source distributed event and stream-processing platform known for its scalability and high throughput. This tutorial guides you through expanding a Kafka cluster by adding a new node and migrating topic partitions for optimal resource utilization using both manual scripts and Kafka Cruise Control. It also covers aggregating event data with ksqlDB, a database that operates on top of Kafka topics using SQL-like syntax. The tutorial includes Docker Compose configurations, command line instructions, and detailed steps for setting up and verifying the expanded Kafka cluster and ksqlDB integration.

17m read timeFrom digitalocean.com
Post cover image
Table of contents
IntroductionPrerequisitesStep 1 - Expanding the ClusterStep 2 - Migrating Topics To New NodesStep 3 - Structured Stream Processing with ksqlDBConclusion

Sort: