Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Broker.id is generated based on the kubernetes hostname suffix (kafka-N)
- # Advertised listener client is based on the node's hostname: server0
- # A Kubernetes NodePort service exposes the node's port (30092) to allow traffic from outside of the Kubernetes cluster
- broker.id=0
- listener.security.protocol.map=CLIENT:PLAINTEXT,REPLICATION:PLAINTEXT,INTERNAL_PLAINTEXT:PLAINTEXT,INTERNAL_SASL:PLAINTEXT
- advertised.listeners=CLIENT://server0:30092,REPLICATION://kafka-0.kafka-broker.kafka.svc.cluster.local:30093,INTERNAL_PLAINTEXT://kafka-0.kafka-broker.kafka.svc.cluster.local:30094,INTERNAL_SASL://kafka-0.kafka-broker.kafka.svc.cluster.local:30095
- listeners=CLIENT://0.0.0.0:30092,REPLICATION://0.0.0.0:30093,INTERNAL_PLAINTEXT://172.31.100.3:30094,INTERNAL_SASL://172.31.100.3:30095
- inter.broker.listener.name=REPLICATION
- zookeeper.connect=zookeeper-headless.zookeeper.svc.cluster.local:2181/kafka
- zookeeper.connection.timeout.ms=6000
- auto.create.topics.enable=true
- delete.topic.enable=true
- num.network.threads=3
- num.io.threads=8
- socket.send.buffer.bytes=102400
- socket.receive.buffer.bytes=102400
- socket.request.max.bytes=104857600
- log.dirs=/opt/kafka/data/topics
- num.partitions=1
- num.recovery.threads.per.data.dir=1
- log.retention.hours=-1
- log.segment.bytes=1073741824
- log.retention.check.interval.ms=300000
- default.replication.factor=3
Advertisement
Add Comment
Please, Sign In to add comment