From 4acead49ade4670b32861a050fbabc709d20c6cb Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 9 Apr 2024 18:51:49 +0200 Subject: [PATCH] WIP --- README.sh | 4 ++-- docker/docker-compose.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.sh b/README.sh index a955e3a..5096798 100755 --- 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 diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 7cc92e0..db1e7a0 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -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 \ -- 2.20.1