GH-191: Add Kafka Batch Mode Sample
Resolves https://github.com/spring-cloud/spring-cloud-stream-samples/issues/191
This commit is contained in:
committed by
Soby Chacko
parent
9337f5360d
commit
75fc53e815
18
kafka-batch-sample/docker-compose.yml
Normal file
18
kafka-batch-sample/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: '3'
|
||||
services:
|
||||
kafka:
|
||||
image: wurstmeister/kafka
|
||||
ports:
|
||||
- "9092:9092"
|
||||
environment:
|
||||
- KAFKA_ADVERTISED_HOST_NAME=127.0.0.1
|
||||
- KAFKA_ADVERTISED_PORT=9092
|
||||
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
|
||||
depends_on:
|
||||
- zookeeper
|
||||
zookeeper:
|
||||
image: wurstmeister/zookeeper
|
||||
ports:
|
||||
- "2181:2181"
|
||||
environment:
|
||||
- KAFKA_ADVERTISED_HOST_NAME=zookeeper
|
||||
Reference in New Issue
Block a user