GH-191: Add Kafka Batch Mode Sample

Resolves https://github.com/spring-cloud/spring-cloud-stream-samples/issues/191
This commit is contained in:
Gary Russell
2020-09-08 15:23:28 -04:00
committed by Soby Chacko
parent 9337f5360d
commit 75fc53e815
13 changed files with 902 additions and 0 deletions

View 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