added host ports
@@ -16,7 +16,7 @@ services:
depends_on:
- zookeeper
ports:
- - "9092"
+ - "9092:9092"
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181'
@@ -36,7 +36,7 @@ services:
- zookeeper
- broker
ports:
- - "8081"
+ - "8081:8081"
environment:
SCHEMA_REGISTRY_HOST_NAME: schema_registry
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: 'zookeeper:2181'
@@ -49,7 +49,7 @@ services:
- broker
- schema_registry
ports:
- - "8083"
+ - "8083:8083"
environment:
CONNECT_BOOTSTRAP_SERVERS: 'broker:9092'
CONNECT_REST_ADVERTISED_HOST_NAME: connect
