Kafka - Docker

Kafka Commit Log Messaging Process

About

Docker usage in Confluent.

Installation

Local

The docker host must:

  • use virtualbox as provider
  • have a minimal of 6000 as virtual memory

In docker machine command line, it means:

docker-machine create --driver virtualbox --virtualbox-memory 6000 hostname

In virtualbox, you can confirm that the memory size is above 6Mb.

Docker Memory Kafka

Provider (Provision)

Host file

When playing around with services, they are generally made available through the docker host.

I create then a name for each services:

192.168.99.100   broker
192.168.99.100   connect
192.168.99.100   zookeeper
192.168.99.100   schema_registry
192.168.99.100   control_center

where : 192.168.99.100 is the docker host ip

Image

DockerFile

confluentinc/cp-docker-images/tree/3.3.x/debian

Compose Yaml

Example: confluentinc/cp-docker-images/tree/3.3.x/examples

See:

Debezium

List

Documentation / Reference





Discover More
Kafka Commit Log Messaging Process
Kafka - Docker Single Node (Multiple Service Broker + Zookeeper)

Docker Single Node step by step tutorial adapted from the Quickstart documentation. Made: on Windows 7 with Git Bash for Windows...
Kafka Commit Log Messaging Process
Kafka - kafka-console-consumer

kafka-console-consumer is a consumer command line that: read data from a Kafka topic and write it to standard output (console). Example with docker Option Description Example ...



Share this page:
Follow us:
Task Runner