-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.example.properties
49 lines (42 loc) · 1.84 KB
/
application.example.properties
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
46
47
48
49
#connection to Kafka
bootstrap.servers=xxx.confluent.cloud:9092
security.protocol=SASL_SSL
sasl.mechanism=PLAIN
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="xxx" password="xxx";
ssl.endpoint.identification.algorithm=https
#connection to Schema Registry
basic.auth.credentials.source=USER_INFO
basic.auth.user.info=xxx:xxx
schema.registry.url=https://xxx.confluent.cloud
auto.register.schemas=false
use.latest.version=true
#Rules
rule.executors=checkAge
rule.executors.checkAge.class=io.confluent.kafka.schemaregistry.rules.cel.CelExecutor
rule.actions=checkAge
rule.actions.checkAge.class=io.confluent.kafka.schemaregistry.rules.DlqAction
rule.actions.checkAge.param.topic=dlq-topic
rule.actions.checkAge.param.bootstrap.servers=xxx.confluent.cloud:9092
rule.actions.checkAge.param.security.protocol=SASL_SSL
rule.actions.checkAge.param.sasl.mechanism=PLAIN
rule.actions.checkAge.param.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="xxx" password="xxx";
rule.actions.checkAge.param.ssl.endpoint.identification.algorithm=https
key.serializer=io.confluent.kafka.serializers.WrapperKeySerializer
wrapped.key.serializer=org.apache.kafka.common.serialization.StringSerializer
#Kafka Producer properties
#key.serializer=org.apache.kafka.common.serialization.StringSerializer
value.serializer=io.confluent.kafka.serializers.KafkaAvroSerializer
acks=all
retries=3
linger.ms=1
enable.idempotence=true
# Kafka Consumer properties
key.deserializer= org.apache.kafka.common.serialization.StringDeserializer
value.deserializer=io.confluent.kafka.serializers.KafkaAvroDeserializer
specific.avro.reader=true
group.id=customer-consumer-group-v3
auto.commit.enable=false
auto.offset.reset=latest
#Topics for Avro data
customer.topic.name=customer-avro
generic.topic.name=customer-avro-generic