Skip to content

Instantly share code, notes, and snippets.

@rk-cloudside
Last active January 1, 2022 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rk-cloudside/6831b027bf3b83623a2606e90dc35c90 to your computer and use it in GitHub Desktop.
Save rk-cloudside/6831b027bf3b83623a2606e90dc35c90 to your computer and use it in GitHub Desktop.
#Change the broker id
broker.id=0
#Change the internal IP
listeners=PLAINTEXT://10.10.0.20:9092
advertised.listeners=PLAINTEXT://10.10.0.20:9092
socket.send.buffer.bytes=102400
socket.receive.buffer.bytes=102400
socket.request.max.bytes=2147483647
log.dirs=/data/kafka/logs/
num.partitions=5
log.retention.hours=6
log.segment.bytes=2147483647
log.retention.check.interval.ms=300000
############################# Zookeeper #############################
zookeeper.connect=zk-01.asia-south1-a.c.cloudside-academy.internal:2181,zk-02.asia-south1-b.c.cloudside-academy.internal:2181,zk-03.asia-south1-c.c.cloudside-academy.internal:2181
# Timeout in ms for connecting to zookeeper
zookeeper.connection.timeout.ms=6000
#######################################################
group.initial.rebalance.delay.ms=0
message.max.bytes=2147483647
max.message.bytes=2147483647
reserved.broker.max.id=10000000
auto.leader.rebalance.enable=true
delete.topic.enable=true
default.replication.factor=3
replica.lag.time.max.ms=100000
replica.fetch.wait.max.ms=5000
queued.max.requests=8192
num.replica.fetchers=6
num.network.threads=16
num.recovery.threads.per.data.dir=3
num.io.threads=16
replica.socket.receive.buffer.bytes=2147483647
replica.fetch.max.bytes=2147483647
message.timestamp.type=LogAppendTime
group.max.session.timeout.ms=7200000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment