-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjson-producer-config.yaml
More file actions
29 lines (29 loc) · 954 Bytes
/
json-producer-config.yaml
File metadata and controls
29 lines (29 loc) · 954 Bytes
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
---
apiVersion: v1
kind: ConfigMap
metadata:
name: json-producer-config
data:
producer.properties: |
# Required connection configs for Kafka producer, consumer, and admin
bootstrap.servers=[placeholder]
security.protocol=[placeholder]
sasl.jaas.config=[placeholder]
sasl.mechanism=[placeholder]
# Required for correctness in Apache Kafka clients prior to 2.6
client.dns.lookup=use_all_dns_ips
# Best practice for higher availability in Apache Kafka clients prior to 3.0
session.timeout.ms=45000
# Best practice for Kafka producer to prevent data loss
acks=all
# Schema Registry connection configurations
schema.registry.url=[placeholder]
basic.auth.credentials.source=[placeholder]
basic.auth.user.info=[placeholder]
# Other configurations
retries=0
user.configuration: |
topicName: numagen-json
schemaType: json
schemaSubject: numagen-json-value
schemaVersion: 1