| Variable | Default |
|---|---|
| TOPIC | test |
| KAFKA_HOST | kafka |
| KAFKA_PORT | 9092 |
| ZOOKEEPER_HOST | zookeeper |
| ZOOKEEPER_PORT | 2800 |
| PARTITIONS | 1 |
| REPLICATION_FACTOR | 1 |
docker run --name some-name -d -e TOPIC=myTopic payintech/kafka-topic-creator
If you wish to create multiple topics, the name of the topics should be separated by a space.
docker run --name some-name -d -e TOPIC="myTopic1 myTopic2" payintech/kafka-topic-creator
Content type
Image
Digest
Size
314.9 MB
Last updated
almost 5 years ago
docker pull payintech/kafka-topic-creator