workshop | WIP
Apache Kafka introduction
Topics
Producers
Consumers
Kafka Streams
Configurations
Ops & Tooling
Monitoring
Text
Text
❌
7d default
delete
compact
Earliest
Latest
Defines a minimum number of bytes required to send data from Kafka to the consumer. When Consumer polls for data, if the minimum number of bytes is not reached, then Kafka waits until the pre-defined size is reached and then sends the data.
CPU load many messages
Text
Limits the number of records retrieved in a single call to poll. Default is 500.
limits the number of bytes fetched per partition. This should not be a problem as the default is 1MB.
min(
num brokers * max.fetch.bytes,
max.partition.fetch.bytes * num_partitions
)
Specifies the frequency of sending heart beat signal by the consumer.
So if this is 3000 ms (default), then every 3 seconds the consumer will send the heartbeat signal to the broker.
Specifies the amount of time within which the broker needs to get at least one heart beat signal from the consumer. Otherwise it will mark the consumer as dead. The default value 10000 ms (10 seconds) makes provision for missing three heart beat signals before a broker will mark the consumer as dead.
wakeup
shut down hook
max.incremental.fetch.session.cache.slots
Resolved since v2.3.0+
max.incremental.fetch.session.cache.slots
0
1
all
Exactly once
Throttling
broker.id.generation.enable=true
reserved.broker.max.id=1000
default in /tmp
false?
2?
3?
Enables auto leader balancing. A background thread checks the distribution of partition leaders at regular intervals, configurable by `leader.imbalance.check.interval.seconds`. If the leader imbalance exceeds `leader.imbalance.per.broker.percentage`, leader rebalance to the preferred leader for partitions is triggered.
(CMAK)