From: Kai Moritz Date: Fri, 13 Oct 2023 12:16:49 +0000 (+0200) Subject: Schema-Registry greift über abgesicherte Adresse zu X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=fa3d43b37c27045f2cb64a4fe7a53a152705f32a;p=demos%2Fkafka%2Ftraining Schema-Registry greift über abgesicherte Adresse zu --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 9ae4166..d925990 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -162,10 +162,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: