confluentinc / cp-all-in-one

docker-compose.yml files for cp-all-in-one , cp-all-in-one-community, cp-all-in-one-cloud, Apache Kafka Confluent Platform
958 stars 684 forks source link

DEVX-2595: Create Docker workaround for KRaft #68

Closed ybyzek closed 3 years ago

ybyzek commented 3 years ago

Description

https://confluentinc.atlassian.net/browse/DEVX-2595

What behavior does this PR change, and why?

Docker-compose with just the broker running KRaft mode

Author Validation

Describe the validation already done, or needs to be done, by the PR submitter.

cd cp-all-in-one-community
docker-compose -f docker-compose-kraft.yml  up -d 
docker-compose exec broker kafka-console-producer --bootstrap-server localhost:9092 --topic t1
docker-compose exec broker kafka-console-consumer --bootstrap-server localhost:9092 --topic t1 --from-beginning

Reviewer Tasks

Describe the tasks/validation that the PR submitter is requesting to be done by the reviewer.