Skip to content

Commit

Permalink
feat(ingest): add more logs for kafka polling (datahub-project#11954)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurinehate authored Nov 26, 2024
1 parent 301e5cd commit 3423e34
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ def get_kafka_consumer(
if CallableConsumerConfig.is_callable_config(connection.consumer_config):
# As per documentation, we need to explicitly call the poll method to make sure OAuth callback gets executed
# https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#kafka-client-configuration
logger.debug("Initiating polling for kafka consumer")
consumer.poll(timeout=30)
logger.debug("Initiated polling for kafka consumer")

return consumer

Expand Down

0 comments on commit 3423e34

Please sign in to comment.