File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
11
11
KAFKA_CONTROLLER_QUORUM_VOTERS : 1@kafka:9093
12
12
KAFKA_CONTROLLER_LISTENER_NAMES : CONTROLLER
13
13
KAFKA_LISTENERS : PLAINTEXT://0.0.0.0:9092,CONTROLLER://0.0.0.0:9093,PLAINTEXT_HOST://0.0.0.0:29092
14
- KAFKA_ADVERTISED_LISTENERS : PLAINTEXT://localhost:9092,PLAINTEXT_HOST://host.docker.internal :29092
14
+ KAFKA_ADVERTISED_LISTENERS : PLAINTEXT://localhost:9092,PLAINTEXT_HOST://dockerhost :29092
15
15
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP : CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
16
16
KAFKA_INTER_BROKER_LISTENER_NAME : PLAINTEXT
17
17
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR : 1
@@ -26,9 +26,11 @@ services:
26
26
- kafka
27
27
ports :
28
28
- " 8081:8081"
29
+ extra_hosts :
30
+ - " dockerhost:172.17.0.1"
29
31
environment :
30
32
SCHEMA_REGISTRY_HOST_NAME : schema-registry
31
- SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS : host.docker.internal :29092
33
+ SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS : dockerhost :29092
32
34
SCHEMA_REGISTRY_LISTENERS : http://0.0.0.0:8081
33
35
SCHEMA_REGISTRY_KAFKASTORE_TOPIC_REPLICATION_FACTOR : 1
34
36
SCHEMA_REGISTRY_DEBUG : ' true'
You can’t perform that action at this time.
0 commit comments