fix:
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// Kafka JAAS Configuration for Production
|
||||
// =============================================================================
|
||||
// This file configures SASL authentication for Kafka in production
|
||||
// Change the passwords to strong, randomly generated values
|
||||
// =============================================================================
|
||||
|
||||
KafkaServer {
|
||||
org.apache.kafka.common.security.plain.PlainLoginModule required
|
||||
username="admin"
|
||||
password="CHANGE_ME_STRONG_KAFKA_ADMIN_PASSWORD"
|
||||
user_admin="CHANGE_ME_STRONG_KAFKA_ADMIN_PASSWORD"
|
||||
user_producer="CHANGE_ME_STRONG_KAFKA_PRODUCER_PASSWORD"
|
||||
user_consumer="CHANGE_ME_STRONG_KAFKA_CONSUMER_PASSWORD";
|
||||
};
|
||||
|
||||
Client {
|
||||
org.apache.kafka.common.security.plain.PlainLoginModule required
|
||||
username="admin"
|
||||
password="CHANGE_ME_STRONG_KAFKA_ADMIN_PASSWORD";
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
// Zookeeper JAAS Configuration for Production
|
||||
// =============================================================================
|
||||
// This file configures SASL authentication for Zookeeper in production
|
||||
// Change the passwords to strong, randomly generated values
|
||||
// =============================================================================
|
||||
|
||||
Server {
|
||||
org.apache.zookeeper.server.auth.DigestLoginModule required
|
||||
user_admin="CHANGE_ME_STRONG_ZOOKEEPER_ADMIN_PASSWORD"
|
||||
user_kafka="CHANGE_ME_STRONG_ZOOKEEPER_KAFKA_PASSWORD";
|
||||
};
|
||||
|
||||
Client {
|
||||
org.apache.zookeeper.server.auth.DigestLoginModule required
|
||||
username="kafka"
|
||||
password="CHANGE_ME_STRONG_ZOOKEEPER_KAFKA_PASSWORD";
|
||||
};
|
||||
Reference in New Issue
Block a user