From 015d988cf6961eb3a2f05a346bf453755d58f70b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 13 Oct 2023 14:16:49 +0200 Subject: [PATCH] =?utf8?q?Schema-Registry=20greift=20=C3=BCber=20abgesiche?= =?utf8?q?rte=20Adresse=20zu?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- docker/docker-compose.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index bf9addd..1d3172b 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -194,10 +194,17 @@ services: schema-registry: image: confluentinc/cp-schema-registry:7.5.1 environment: - SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: kafka-1:9091,kafka-2:9091,kafka-3:9091 + SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: kafka-1:9092,kafka-2:9092,kafka-3:9092 SCHEMA_REGISTRY_HOST_NAME: schema-registry SCHEMA_REGISTRY_LISTENERS: http://0.0.0.0:8085 SCHEMA_REGISTRY_LOG4J_ROOT_LOGLEVEL: INFO + SCHEMA_REGISTRY_KAFKASTORE_SECURITY_PROTOCOL: SASL_PLAINTEXT + SCHEMA_REGISTRY_KAFKASTORE_SASL_MECHANISM: PLAIN + SCHEMA_REGISTRY_KAFKASTORE_SASL_JAAS_CONFIG: > + org.apache.kafka.common.security.plain.PlainLoginModule + required + username="schemaregistry" + password="schemaregistry-secret"; ports: - 8085:8085 depends_on: -- 2.20.1