From 4237ca9474f19f2ddd48a92695f04fbb8940eb96 Mon Sep 17 00:00:00 2001 From: Florian Hussonnois Date: Sun, 10 Apr 2022 01:01:02 +0200 Subject: [PATCH] fix: fix config kafka.security.authorizer.AclAuthorizer --- zk-kafka-multiple-nodes-secured-stack.yml | 6 +++--- zk-kafka-single-node-secured-stack.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zk-kafka-multiple-nodes-secured-stack.yml b/zk-kafka-multiple-nodes-secured-stack.yml index fc5459c..5c11da5 100644 --- a/zk-kafka-multiple-nodes-secured-stack.yml +++ b/zk-kafka-multiple-nodes-secured-stack.yml @@ -109,7 +109,7 @@ services: KAFKA_ADVERTISED_LISTENERS: SASL_PLAINTEXT://kafka101:29092,PLAINTEXT_HOST://localhost:9091 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: SASL_PLAINTEXT:SASL_PLAINTEXT,PLAINTEXT_HOST:SASL_PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: SASL_PLAINTEXT - KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.auth.SimpleAclAuthorizer + KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer KAFKA_SUPER_USERS: User:kafka KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true" KAFKA_SASL_ENABLED_MECHANISMS: SCRAM-SHA-256 @@ -144,7 +144,7 @@ services: KAFKA_ADVERTISED_LISTENERS: SASL_PLAINTEXT://kafka102:29092,PLAINTEXT_HOST://localhost:9092 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: SASL_PLAINTEXT:SASL_PLAINTEXT,PLAINTEXT_HOST:SASL_PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: SASL_PLAINTEXT - KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.auth.SimpleAclAuthorizer + KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer KAFKA_SUPER_USERS: User:kafka KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true" KAFKA_SASL_ENABLED_MECHANISMS: SCRAM-SHA-256 @@ -179,7 +179,7 @@ services: KAFKA_ADVERTISED_LISTENERS: SASL_PLAINTEXT://kafka103:29092,PLAINTEXT_HOST://localhost:9993 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: SASL_PLAINTEXT:SASL_PLAINTEXT,PLAINTEXT_HOST:SASL_PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: SASL_PLAINTEXT - KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.auth.SimpleAclAuthorizer + KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer KAFKA_SUPER_USERS: User:kafka KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true" KAFKA_SASL_ENABLED_MECHANISMS: SCRAM-SHA-256 diff --git a/zk-kafka-single-node-secured-stack.yml b/zk-kafka-single-node-secured-stack.yml index db578ea..9481f7c 100644 --- a/zk-kafka-single-node-secured-stack.yml +++ b/zk-kafka-single-node-secured-stack.yml @@ -82,7 +82,7 @@ services: KAFKA_ADVERTISED_LISTENERS: SASL_PLAINTEXT://kafka101:29092,PLAINTEXT_HOST://localhost:9092 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: SASL_PLAINTEXT:SASL_PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT KAFKA_INTER_BROKER_LISTENER_NAME: SASL_PLAINTEXT - KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.auth.SimpleAclAuthorizer + KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer KAFKA_SUPER_USERS: User:kafka KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true" KAFKA_SASL_ENABLED_MECHANISMS: SCRAM-SHA-256