Skip to content

Commit

Permalink
add docker-compose for benchmarking against kafka
Browse files Browse the repository at this point in the history
  • Loading branch information
travisjeffery committed Feb 15, 2017
1 parent 8a703c9 commit 6f4a7f6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '2'
services:
zookeeper:
network_mode: "host"
image: wurstmeister/zookeeper
ports:
- "2181:2181"

kafka:
network_mode: "host"
image: wurstmeister/kafka
ports:
- "9092:9092"
environment:
KAFKA_VERSION: "0.10.0.1"
KAFKA_CREATE_TOPICS: "testtopic:1:1"
KAFKA_ADVERTISED_HOST_NAME: "localhost"
KAFKA_ADVERTISED_PORT: "9092"
KAFKA_ZOOKEEPER_CONNECT: "localhost:2181"

0 comments on commit 6f4a7f6

Please sign in to comment.