https://github.com/schm1tz1/confluentplatformdocker
Quickstart for local ConfluentPlatform on Docker with some useful scripts
https://github.com/schm1tz1/confluentplatformdocker
confluent docker kafka platform quickstart zookeeper
Last synced: 3 months ago
JSON representation
Quickstart for local ConfluentPlatform on Docker with some useful scripts
- Host: GitHub
- URL: https://github.com/schm1tz1/confluentplatformdocker
- Owner: Schm1tz1
- Created: 2019-07-15T07:49:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-13T12:59:41.000Z (almost 6 years ago)
- Last Synced: 2025-01-14T01:21:27.485Z (12 months ago)
- Topics: confluent, docker, kafka, platform, quickstart, zookeeper
- Language: Batchfile
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Confluent Platform in Docker
## Initial Checkout and Installation
Upon checkout, the external submodule (https://github.com/confluentinc/cp-docker-images) will automatically be imported. Not it's time to compose and initially download and build the docker containers:
```bash
cd cp-docker-images/examples/cp-all-in-one/
docker-compose up -d --build
```
## Starting/Stopping CP Docker
Navigate to the directory and use docker-compose to start/stop CP:
```bash
cd cp-docker-images/examples/cp-all-in-one/
docker-compose up -d
```
And for stopping:
```bash
cd cp-docker-images/examples/cp-all-in-one/
docker-compose stop
```
To faciliate the docker handling, you can use and adapt the scripts provided:
- START(.sh/.bat)
- STATUS(.sh/.bat)
- STOP(.sh/.bat)
- BASH @BROKER(.sh/.bat)
- ConsoleConsumer_exampleTopic(.sh/.bat)
## Known Bugs
1. In case the startup of Zookeeper Container fails with an error similar to "Cannot start service zookeeper: b'driver failed programming external connectivity on endpoint zookeeper" (Well known on Windows hosts), simply restart Docker!