This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 198
/
Copy pathapplication.conf
45 lines (45 loc) · 1.81 KB
/
application.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
kafka-lag-exporter {
reporters.prometheus.port = 8000
clusters = [
{
name = "a-cluster"
bootstrap-brokers = "a-1.cluster-a.xyzcorp.com:9092,a-2.cluster-a.xyzcorp.com:9092,a-3.cluster-a.xyzcorp.com:9092"
labels = {
location = "ny"
zone = "us-east"
}
},
{
name = "a-cluster-with-sasl-properties"
bootstrap-brokers = "a-1.cluster-a.xyzcorp.com:9092,a-2.cluster-a.xyzcorp.com:9092,a-3.cluster-a.xyzcorp.com:9092"
admin-client-properties = {
ssl.endpoint.identification.algorithm = "https"
security.protocol="SASL_SSL"
sasl.mechanism="PLAIN"
sasl.jaas.config="org.apache.kafka.common.security.plain.PlainLoginModule required username=\"USERNAME\" password=\"PASSWORD\";"
}
consumer-properties = {
ssl.endpoint.identification.algorithm = "https"
security.protocol="SASL_SSL"
sasl.mechanism="PLAIN"
sasl.jaas.config="org.apache.kafka.common.security.plain.PlainLoginModule required username=\"USERNAME\" password=\"PASSWORD\";"
}
},
{
name = "b-cluster-with-iam-auth"
bootstrap-brokers = "b-1.cluster-b.xyzcorp.com:9092,b-2.cluster-b.xyzcorp.com:9092,b-3.cluster-b.xyzcorp.com:9092"
admin-client-properties = {
security.protocol="SASL_SSL"
sasl.mechanism="AWS_MSK_IAM"
sasl.jaas.config="software.amazon.msk.auth.iam.IAMLoginModule required;"
sasl.client.callback.handler.class="software.amazon.msk.auth.iam.IAMClientCallbackHandler"
}
consumer-properties = {
security.protocol="SASL_SSL"
sasl.mechanism="AWS_MSK_IAM"
sasl.jaas.config="software.amazon.msk.auth.iam.IAMLoginModule required;"
sasl.client.callback.handler.class="software.amazon.msk.auth.iam.IAMClientCallbackHandler"
}
}
]
}