add kafka

This commit is contained in:
2019-02-16 16:05:33 +08:00
parent 1850828acf
commit 144c95a233
3 changed files with 42 additions and 0 deletions

12
kafka/2.1.0/README.md Normal file
View File

@@ -0,0 +1,12 @@
TBD
```bash
docker service create \
--name kafka \
--hostname=kafka \
--network swarm-net \
--detach=true \
--replicas 1 \
--endpoint-mode dnsrr \
newnius/kafka:2.1.0
```