Kafka for Streaming

Common Services of Kafka and Streaming

Zookeeper

This service uses the confluentinc/cp-zookeeper:5.4.0 image and is responsible for running a ZooKeeper server. It exposes port 2181 and sets some environment variables related to ZooKeeper’s configuration.

Broker

This service uses the confluentinc/cp-server:5.4.0 image and represents a Kafka broker. It depends on the zookeeper service and exposes port 9092. It sets various environment variables related to Kafka’s configuration, such as the broker ID, ZooKeeper connection, advertised listeners, and metrics reporting.

Kafka-tools

This service uses the confluentinc/cp-kafka:5.4.0 image and is mainly used for administrative purposes. It runs the tail -f /dev/null command to keep the container running indefinitely. It uses the host network mode, which means it shares the network namespace with the host machine.

Schema-registry

This service uses the confluentinc/cp-schema-registry:5.4.0 image and provides a schema registry for Kafka. It depends on the zookeeper and broker services and exposes port 8081. It sets environment variables related to the schema registry’s configuration.

Control-center

This service uses the confluentinc/cp-enterprise-control-center:5.4.0 image and represents the Confluent Control Center. It depends on the zookeeper, broker, and schema-registry services. It exposes port 9021 and sets environment variables related to Control Center’s configuration.

Streaming Data and Processing Data during transitions

Schema Registry with Avro

Kafka Connect, Source and Sink

Kafka Streams

Choose Your Plan 💫

TypeTier 1 (Free)Tier 2 (Member)Tier 3 (Pro)
ProductThe bookThe book + resourcesThe complete package
BenefitOverly Learning and getting notes of data development journeyTake into next level of details practical coding and video explanationAll the best resources
share with your co-workers
Package50+ pages
2 cases studies: batching and streaming pipeline
100+ pages
5 cases studies
3 hands-on sample
5 videos for explanation
150 pages
5 cases studies
3 hands-on
5 best practices
7 videos for explanation
ContentBasic
QuestionInterview
Changelogs
Tier 1
Advanced
Hands-on
Video
Tier 2
Best practices
Real case-study
Video
PermissionWebsite viewerBook repo, video permissionBook repo, video permission, code repo
PriceFree$5/Month (Keep up-to-date)
$50/One-time (Snapshot)
$9/Month (Keep up-to-date)
$100/One-time (Snapshot)