Kafka 4.0 → 4.1 Upgrade Guide
Kafka 4.1 brings 91 new configs, removes 1, and changes 3 defaults compared to 4.0.
+91 configs −1 configs 3 defaults changed 19 KIPs
Removed Configurations
| Config | Category |
|---|---|
| group.share.max.groups | broker |
New Configurations
Changed Defaults
| Config | Old Default | New Default |
|---|---|---|
| group.coordinator.rebalance.protocols | classic,consumer | classic,consumer,streams |
| group.share.partition.max.record.locks | 200 | 2000 |
| share.coordinator.append.linger.ms | 10 | 5 |
Protocol Changes
Produce v13 · Produce v13 · Fetch v18 · Fetch v18 · OffsetCommit v10 · OffsetCommit v10 · OffsetFetch v10 · OffsetFetch v10 · InitProducerId v6 · InitProducerId v6 · AlterPartitionReassignments v1 · AlterPartitionReassignments v1 · ListTransactions v2 · ListTransactions v2 · ListConfigResources v1 · ListConfigResources v1KIPs Released
KIP-512 make Record Headers available in onAcknowledgement and onCompleteKIP-516 Topic Identifiers & Topic Deletion State Improvements
KIP-860 Add client-provided option to guard against replication factor change during partition reassignments
KIP-877 Mechanism for plugins and connectors to register metrics
KIP-939 Support Participation in 2PC
KIP-1050 Consistent error handling for Transactions
KIP-1071 Streams Rebalance Protocol
KIP-1103 Additional metrics for cooperative consumption
KIP-1104 Allow Foreign Key Extraction from Both Key and Value in KTable Joins
KIP-1109 Unifying Kafka Consumer Topic Metrics
KIP-1111 Enforcing Explicit Naming for Kafka Streams Internal Topics
KIP-1118 Add Deadlock Protection on Producer Network Thread
KIP-1131 Improved controller-side monitoring of broker states
KIP-1132 KRaft servers support invalid static SocketServer configurations
KIP-1139 Add support for OAuth jwt-bearer grant type
KIP-1142 Allow to list non-existent group which has dynamic config
KIP-1148 Remove log.cleaner.enable and set lower bound 1 to log.cleaner.threads
KIP-1152 Add transactional ID pattern filter to ListTransactions API
KIP-1166 Improve high-watermark replication
Planning a Kafka upgrade? Conduktor Console helps you manage and monitor your clusters during migration.