Skip to content

Commit

Permalink
Fix Kafka API
Browse files Browse the repository at this point in the history
  • Loading branch information
rayokota committed Dec 24, 2024
1 parent b113cbe commit 825c459
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.apache.kafka.clients.ClientUtils;
import org.apache.kafka.clients.CommonClientConfigs;
import org.apache.kafka.clients.Metadata;
import org.apache.kafka.clients.MetadataRecoveryStrategy;
import org.apache.kafka.clients.NetworkClient;
import org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient;
import org.apache.kafka.common.KafkaException;
Expand Down Expand Up @@ -150,7 +151,8 @@ public KarelDbLeaderElector(KarelDbConfig config, KarelDbEngine engine) throws K
time,
true,
new ApiVersions(),
logContext);
logContext,
MetadataRecoveryStrategy.NONE);

this.client = new ConsumerNetworkClient(
logContext,
Expand Down

0 comments on commit 825c459

Please sign in to comment.