From: Kai Moritz Date: Fri, 13 Oct 2023 14:45:32 +0000 (+0200) Subject: AKHQ greift über abgesicherte Adresse zu X-Git-Tag: config/sasl-plain---2023-10-signal~5 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=c4fe3d81fb8be3972071763828b31a4504cfb412;p=demos%2Fkafka%2Ftraining AKHQ greift über abgesicherte Adresse zu --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index bd6fa06..bad7a6f 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -35,6 +35,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: | @@ -77,6 +78,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: | @@ -124,6 +126,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: | @@ -166,6 +169,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: | @@ -338,7 +342,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: