diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fcd2e583..7ed917f06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ## Fixes - During a group rebalance, partitions are now always revoked as a side effect of a call to Consume, whether or not a partitions revoked handler has been specified. Previously, if no handler was specified, the timing of when the consumer lost ownership of partitions during a rebalance was arbitrarily, frequently resulting in an erroneous state exception when committing or storing offsets. +- Fixed 100% CPU usage with `DependentAdminClientBuilder`. # 1.9.4 diff --git a/src/Confluent.Kafka/AdminClient.cs b/src/Confluent.Kafka/AdminClient.cs index 3e1977b1c..f720570c0 100644 --- a/src/Confluent.Kafka/AdminClient.cs +++ b/src/Confluent.Kafka/AdminClient.cs @@ -768,7 +768,8 @@ private SafeKafkaHandle kafkaHandle /// or AdminClient handle. /// internal AdminClient(Handle handle) - { + { + Config.ExtractCancellationDelayMaxMs(new AdminClientConfig(), out this.cancellationDelayMaxMs); this.ownedClient = null; this.handle = handle; Init();