kafka-docker-composer icon indicating copy to clipboard operation
kafka-docker-composer copied to clipboard

`--kafka-container` argument is ignored

Open ble opened this issue 9 months ago • 0 comments

Reproduction steps:

(I'm using pipenv to run the script; your python environment management technique may vary 😀)

# Omit --kafka-container argument and write output to `without-arg.yaml`:
pipenv run python3 kafka_docker_composer.py --shared-mode -b 3 -c 1 -s 0 -C 0 --docker-compose-file without-arg.yaml
# Use --kafka-container argument w/ non-default value and write output to `with-arg.yaml`:
pipenv run python3 kafka_docker_composer.py --shared-mode -b 3 -c 1 -s 0 -C 0 --kafka-container cp-kafka --docker-compose-file with-arg.yaml
diff without-arg.yaml with-arg.yaml

Expected:

The two docker-compose files should be using different images (cp-kafka rather than cp-server) for brokers and controllers and this should appear in the diff.

Actual:

The two docker-compose files are identical.

ble avatar May 30 '24 16:05 ble