conduktor.io ↗

Kafka 2.0 → 2.1 Upgrade Guide

Kafka 2.1 brings 8 new configs, removes 21, and changes 4 defaults compared to 2.0.

+8 configs −21 configs 4 defaults changed 24 KIPs

Removed Configurations

ConfigCategory
auto.commit.enableconsumer
consumer.idconsumer
consumer.timeout.msconsumer
dual.commit.enabledconsumer
fetch.message.max.bytesconsumer
fetch.wait.max.msconsumer
num.consumer.fetchersconsumer
offsets.channel.backoff.msconsumer
offsets.channel.socket.timeout.msconsumer
offsets.commit.max.retriesconsumer
offsets.storageconsumer
queued.max.message.chunksconsumer
rebalance.backoff.msconsumer
rebalance.max.retriesconsumer
refresh.leader.backoff.msconsumer
socket.receive.buffer.bytesconsumer
socket.timeout.msconsumer
zookeeper.connectconsumer
zookeeper.connection.timeout.msconsumer
zookeeper.session.timeout.msconsumer
zookeeper.sync.time.msconsumer

New Configurations

ConfigCategoryDefault
connection.failed.authentication.delay.msbroker100
kafka.metrics.polling.interval.secsbroker10
kafka.metrics.reportersbroker
client.dns.lookupconsumerdefault
client.dns.lookupproducerdefault
delivery.timeout.msproducer120000
client.dns.lookupconnect_defaultdefault
max.task.idle.msstream0

Changed Defaults

ConfigOld DefaultNew Default
inter.broker.protocol.version2.0-IV12.1-IV2
log.message.format.version2.0-IV12.1-IV2
retries02147483647
message.format.version2.0-IV12.1-IV2

KIPs Released

KIP-206 Add support for UUID serialization and deserialization
KIP-211 Revise Expiration Semantics of Consumer Group Offsets
KIP-231 Improve the Required ACL of ListGroups API
KIP-235 Add DNS alias support for secured connection
KIP-270 A Scala Wrapper Library for Kafka Streams
KIP-302 Enable Kafka clients to use all DNS resolved IP addresses
KIP-306 Configuration for Delaying Response to Failed Authentication
KIP-312 Add Overloaded StreamsBuilder Build Method to Accept java.util.Properties
KIP-319 Replace segments with segmentInterval in WindowBytesStoreSupplier
KIP-321 Update TopologyDescription to better represent Source and Sink Nodes
KIP-324 Add method to get metrics() in AdminClient
KIP-330 Add retentionPeriod in SessionBytesStoreSupplier
KIP-332 Update AclCommand to use AdminClient API
KIP-338 Support to exclude the internal topics in kafka-topics.sh command
KIP-340 Allow kafka-reassign-partitions.sh and kafka-log-dirs.sh to take admin client property file
KIP-342 Add support for custom SASL extensions in OAuthBearer authentication
KIP-346 Improve LogCleaner behavior on error
KIP-353 Improve Kafka Streams Timestamp Synchronization
KIP-356 Add withCachingDisabled() to StoreBuilder
KIP-357 Add support to list ACLs per principal
KIP-358 Migrate Streams API to Duration instead of long ms times
KIP-365 Materialized, Serialized, Joined, Consumed and Produced with implicit Serde
KIP-366 Make FunctionConversions deprecated
KIP-372 Naming Repartition Topics for Joins and Grouping
Planning a Kafka upgrade? Conduktor Console helps you manage and monitor your clusters during migration.