Kafka - Docker

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.

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

Compose Yaml

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

See:

Debezium

List

Documentation / Reference


Powered by ComboStrap