From: Kai Moritz Date: Fri, 13 Oct 2023 14:45:32 +0000 (+0200) Subject: AKHQ greift über abgesicherte Adresse zu X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=8b048e27bdc787ca1d70d4429b90ce6dd2a4df26;p=demos%2Fkafka%2Ftraining AKHQ greift über abgesicherte Adresse zu --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 6a09187..5723dbf 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -30,6 +30,7 @@ services: org.apache.kafka.common.security.plain.PlainLoginModule required \ user_schemaregistry="schemaregistry-secret" \ user_connect="connect-secret" \ + user_ui="ui-secret" \ user_client="client-secret"; KAFKA_LISTENER_NAME_LOCALHOST_SASL_ENABLED_MECHANISMS: PLAIN KAFKA_LISTENER_NAME_LOCALHOST_PLAIN_SASL_JAAS_CONFIG: | @@ -64,6 +65,7 @@ services: org.apache.kafka.common.security.plain.PlainLoginModule required \ user_schemaregistry="schemaregistry-secret" \ user_connect="connect-secret" \ + user_ui="ui-secret" \ user_client="client-secret"; KAFKA_LISTENER_NAME_LOCALHOST_SASL_ENABLED_MECHANISMS: PLAIN KAFKA_LISTENER_NAME_LOCALHOST_PLAIN_SASL_JAAS_CONFIG: | @@ -103,6 +105,7 @@ services: org.apache.kafka.common.security.plain.PlainLoginModule required \ user_schemaregistry="schemaregistry-secret" \ user_connect="connect-secret" \ + user_ui="ui-secret" \ user_client="client-secret"; KAFKA_LISTENER_NAME_LOCALHOST_SASL_ENABLED_MECHANISMS: PLAIN KAFKA_LISTENER_NAME_LOCALHOST_PLAIN_SASL_JAAS_CONFIG: | @@ -137,6 +140,7 @@ services: org.apache.kafka.common.security.plain.PlainLoginModule required \ user_schemaregistry="schemaregistry-secret" \ user_connect="connect-secret" \ + user_ui="ui-secret" \ user_client="client-secret"; KAFKA_LISTENER_NAME_LOCALHOST_SASL_ENABLED_MECHANISMS: PLAIN KAFKA_LISTENER_NAME_LOCALHOST_PLAIN_SASL_JAAS_CONFIG: | @@ -306,7 +310,10 @@ services: connections: docker-kafka-server: properties: - bootstrap.servers: "kafka:9091" + bootstrap.servers: "kafka:9092" + security.protocol: SASL_PLAINTEXT + sasl.mechanism: PLAIN + sasl.jaas.config: org.apache.kafka.common.security.plain.PlainLoginModule required username="ui" password="ui-secret"; schema-registry: url: "http://schema-registry:8085" connect: