docker service create --network kafka-net --name broker \ --hostname="{{.Service.Name}}.{{.Task.Slot}}.{{.Task.ID}}" \ -e KAFKA_BROKER_ID={{.Task.Slot}} -e ZK_SERVERS=tasks.zookeeper \ qnib/plain-kafka:2018-04-25_1.1.0