CONFLUENT PLATFORM
Using Docker images, you can install the entire Confluent Platform or individual components.
The Confluent Platform Docker images are available on DockerHub, and the source files for the images are available on GitHub. From GitHub you can extend and rebuild the images and upload them to your own DockerHub repository. See Docker Image Reference for more information about the Confluent Platform images.
You should consider the following before using the Docker images.
Bridge networking is currently only supported on a single host. To run a bridge network over multiple hosts, you must use overlay networks which are not currently supported. To expose Kafka to clients outside of the bridge network, you must find the container IP and put it in advertised.listeners. This can be difficult to achieve depending on how you’re using the images. Furthermore, it can add a network hop and may not be as performant as the host network, which shares the network stack.
advertised.listeners
Host networking is the recommended option in the following cases:
Here are the methods to add new connectors to the Kafka Connect image.
/usr/share/java/kafka-connect-*
cp-kafka-connect
The following tutorials leverage these examples and can help you get started.