Skip to content

Commit 290fa15

Browse files
committed
fix kafka sasl config
1 parent 11fd626 commit 290fa15

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

common/src/main/resources/persistence-keyspace-sigv4.conf

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,16 @@ kafka {
9999
idle-timeout = ${?KAFKA_IDLE_TIMEOUT}
100100
security.protocol=""
101101
security.protocol=${?KAFKA_SECURITY}
102-
ssl.truststore.location = ""
103-
ssl.truststore.location = ${?TRUSTSTORE_PATH}
104-
ssl.truststore.password = ""
105-
ssl.truststore.password = ${?TRUSTSTORE_PASSWORD}
106-
ssl.endpoint = ""
107-
ssl.endpoint = ${?KAFKA_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG}
102+
# ssl.truststore.location = ""
103+
# ssl.truststore.location = ${?TRUSTSTORE_PATH}
104+
# ssl.truststore.password = ""
105+
# ssl.truststore.password = ${?TRUSTSTORE_PASSWORD}
106+
# ssl.endpoint = ""
107+
# ssl.endpoint = ${?KAFKA_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG}
108+
sasl.mechanism="AWS_MSK_IAM"
109+
# sasl.mechanism=${?KAFKA_SASL_MECHANISM}
110+
sasl.jaas.config="software.amazon.msk.auth.iam.IAMLoginModule required;"
111+
# sasl.jaas.config="{?KAFKA_SASL_JAAS_CONFIG}"
112+
sasl.client.callback.handler.class="software.amazon.msk.auth.iam.IAMClientCallbackHandler"
113+
#sasl.client.callback.handler.class="{?KAFKA_SASL_CLASS}"
108114
}

0 commit comments

Comments
 (0)