From b794c43b88d6cfebede26ad42ed5fc3922b5fc87 Mon Sep 17 00:00:00 2001 From: Ayesh Almeida Date: Fri, 13 Dec 2024 08:09:52 +0530 Subject: [PATCH] Incorporate review suggestions --- examples/kafka-hub/hub/modules/connections/connections.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/kafka-hub/hub/modules/connections/connections.bal b/examples/kafka-hub/hub/modules/connections/connections.bal index 48fae53c..7a6b1b05 100644 --- a/examples/kafka-hub/hub/modules/connections/connections.bal +++ b/examples/kafka-hub/hub/modules/connections/connections.bal @@ -142,7 +142,7 @@ public isolated function createMessageConsumer(string topicName, string groupNam if offset is kafka:PartitionOffset { kafka:Error? kafkaSeekErr = consumerEp->seek(offset); - if kafkaSeekErr is error { + if kafkaSeekErr is kafka:Error { log:printError("Error occurred while assigning seeking partitions for the consumer", kafkaSeekErr); return kafkaSeekErr; }