fetch.max.bytes--52428800 (50 mebibytes)
heartbeat.interval.ms--3000 (3 seconds) 和consumer coordinator之间的预跳时间(The value must be set lower than session.timeout.ms
, but typically should be set no higher than 1/3 of that value)
max.partition.fetch.bytes -- 1048576 (1 mebibyte) 需要大于message.max.bytes
(broker config) max.message.bytes
(topic config)
session.timeout.ms--10000 (10 seconds)
auto.offset.reset--latest
connections.max.idle.ms--540000 (9 minutes)
default.api.timeout.ms--60000 (1 minute)
max.poll.interval.ms--300000 (5 minutes) poll的间隔时间,超过这个时间认为消费者死亡,会rebalance,如果处理时间太长
max.poll.records--500
request.timeout.ms--30000 (30 seconds)
auto.commit.interval.ms--5000 (5 seconds)
fetch.max.wait.ms--500 这么长时间不够fetch.min.bytes也返回
metadata.max.age.ms--300000 (5 minutes)
reconnect.backoff.max.ms--1000 (1 second)
retry.backoff.ms--100