WIP
authorKai Moritz <kai@juplo.de>
Tue, 9 Apr 2024 16:51:49 +0000 (18:51 +0200)
committerKai Moritz <kai@juplo.de>
Tue, 9 Apr 2024 16:51:49 +0000 (18:51 +0200)
README.sh
docker/docker-compose.yml

index a955e3a..5096798 100755 (executable)
--- a/README.sh
+++ b/README.sh
@@ -33,5 +33,5 @@ kafkacat -C -b :9092 -Xsecurity.protocol=sasl_plaintext -Xsasl.mechanisms=PLAIN
 
 kafkacat -L -b :9092 -Xsecurity.protocol=sasl_plaintext -Xsasl.mechanisms=PLAIN -Xsasl.username=client -Xsasl.password=client-secret
 
-docker compose exec cli kafka-configs --bootstrap-server kafka:9092 --alter --add-config 'producer_byte_rate=4096,consumer_byte_rate=4096' --entity-type clients --entity-name juplo
-docker compose exec cli kafka-configs --bootstrap-server kafka:9092 --describe --entity-type clients --entity-name juplo
+docker compose exec cli kafka-configs --bootstrap-server kafka:9091 --alter --add-config 'producer_byte_rate=4096,consumer_byte_rate=4096' --entity-type clients --entity-name juplo
+docker compose exec cli kafka-configs --bootstrap-server kafka:9091 --describe --entity-type clients --entity-name juplo
index 7cc92e0..db1e7a0 100644 (file)
@@ -22,6 +22,7 @@ services:
       KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
       KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
       KAFKA_SUPER_USERS: User:ANONYMOUS
+      KAFKA_LOG4J_LOGGERS: kafka.authorizer.logger=INFO
       KAFKA_LISTENER_NAME_DOCKER_SASL_ENABLED_MECHANISMS: PLAIN
       KAFKA_LISTENER_NAME_DOCKER_PLAIN_SASL_JAAS_CONFIG: |
         org.apache.kafka.common.security.plain.PlainLoginModule required \
@@ -64,6 +65,7 @@ services:
       KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
       KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
       KAFKA_SUPER_USERS: User:ANONYMOUS
+      KAFKA_LOG4J_LOGGERS: kafka.authorizer.logger=INFO
       KAFKA_LISTENER_NAME_DOCKER_SASL_ENABLED_MECHANISMS: PLAIN
       KAFKA_LISTENER_NAME_DOCKER_PLAIN_SASL_JAAS_CONFIG: |
         org.apache.kafka.common.security.plain.PlainLoginModule required \
@@ -111,6 +113,7 @@ services:
       KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
       KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
       KAFKA_SUPER_USERS: User:ANONYMOUS
+      KAFKA_LOG4J_LOGGERS: kafka.authorizer.logger=INFO
       KAFKA_LISTENER_NAME_DOCKER_SASL_ENABLED_MECHANISMS: PLAIN
       KAFKA_LISTENER_NAME_DOCKER_PLAIN_SASL_JAAS_CONFIG: |
         org.apache.kafka.common.security.plain.PlainLoginModule required \