Skip to content

Docker and Kubernetes scripts for using the Confluent Open Source Platform with Oracle JDK

License

Notifications You must be signed in to change notification settings

MihaiBogdanEugen/confluent-platform-scripts

Repository files navigation

Running using Docker-Compose

Versions used:

docker --version && docker-compose --version && docker-machine --version
Docker version 17.09.0-ce, build afdb6d4
docker-compose version 1.16.1, build 6d1ac21
docker-machine version 0.12.2, build 9371605

Prerequisites:

If you’re running on Windows or Mac OS X, you’ll need to use Docker Machine to start the Docker host. Docker runs natively on Linux, so the Docker host will be your local machine if you go that route. Otherwise, be sure to allocate at least 6 GBs RAM to the Docker Machine.

Don't forget to check the Important Notes/Caveats from the Official Documentation.

1. ZooKeeper:

1.1. Single Apache ZooKeeper node - docker-compose.yml

1.2. Cluster of 3 Apache ZooKeeper nodes - docker-compose.yml

2. Kafka:

2.1. A single Apache ZooKeeper node, plus a single Apache Kafka node - docker-compose.yml

2.2. Cluster of 3 Apache ZooKeeper nodes, plus 5 Apache Kafka nodes - docker-compose.yml

3. Kafka, Schema Registry and REST Proxy:

3.1. A single Apache ZooKeeper node, plus a single Apache Kafka node, a Schema Registry node and a REST Proxy node - docker-compose.yml

3.2. Cluster of 3 Apache ZooKeeper nodes, plus 5 Apache Kafka nodes, a Schema Registry node and a REST Proxy node - docker-compose.yml

Running using Kubernetes:

Versions used:

kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.3", GitCommit:"f0efb3cb883751c5ffdbe6d515f3cb4fbe7b7acd", GitTreeState:"clean", BuildDate:"2017-11-09T07:27:47Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.8", GitCommit:"bc6162cc70b4a39a7f39391564e0dd0be60b39e9", GitTreeState:"clean", BuildDate:"2017-10-05T06:35:40Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

0. Prerequisites:

Create a dedicated namespace - Namespace

1. ZooKeeper:

2. Kafka:

3. Schema Registry:

4. REST Proxy:

Running using Minikube:

Versions used:

minikube version && kubectl version
minikube version: v0.23.0
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.3", GitCommit:"f0efb3cb883751c5ffdbe6d515f3cb4fbe7b7acd", GitTreeState:"clean", BuildDate:"2017-11-09T07:27:47Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4", GitTreeState:"dirty", BuildDate:"2017-10-17T15:09:55Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Prerequisites:

One has to start the minikube using the xhyve driver.

1. ZooKeeper:

2. Kafka:

3. Schema Registry:

4. REST Proxy:

Dual licensed under:

About

Docker and Kubernetes scripts for using the Confluent Open Source Platform with Oracle JDK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages