Skip to content

Commit

Permalink
SharedKafkaConsumer.unSubscribe() was missing the timeoutMs param…
Browse files Browse the repository at this point in the history
…eter, which was overwritten as a merge conflict in #1308. 🫨
  • Loading branch information
KaiSernLim committed Dec 20, 2024
1 parent ed4776f commit e0a23f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public void unSubscribe(PubSubTopic versionTopic, PubSubTopicPartition pubSubTop
* setting data receiver and unsubscribing concurrently for the same topic partition on a shared consumer.
*/
try (AutoCloseableLock ignored = AutoCloseableLock.of(consumerToLocks.get(consumer))) {
consumer.unSubscribe(pubSubTopicPartition);
consumer.unSubscribe(pubSubTopicPartition, timeoutMs);
removeTopicPartitionFromConsumptionTask(consumer, pubSubTopicPartition);
}
versionTopicToTopicPartitionToConsumer.compute(versionTopic, (k, topicPartitionToConsumerMap) -> {
Expand Down

0 comments on commit e0a23f9

Please sign in to comment.