Skip to content

Commit

Permalink
refactor: Remove commented debug statements in kafka_utils.py (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanak8278 authored Jul 23, 2024
1 parent 627bd4a commit d5cd8e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pwr_studio/kafka_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __init__(self, bootstrap_servers: str,
'auto.offset.reset': auto_offset_reset,
** consumer_config
}
print("consumer config", self.consumer_config)
# print("consumer config", self.consumer_config)
self.consumer = Consumer(self.consumer_config)
self.subscribed=False
self.subscribed_topics = []
Expand All @@ -132,7 +132,7 @@ def from_env_vars(group_id: str, auto_offset_reset: str):
consumer_password = os.getenv('KAFKA_CONSUMER_PASSWORD')

print("Consumer from env vars")
print(kafka_broker, use_sasl, consumer_username, consumer_password)
# print(kafka_broker, use_sasl, consumer_username, consumer_password)

if type(use_sasl) == str and use_sasl.lower() == 'true':
return KafkaConsumer(kafka_broker,
Expand Down

0 comments on commit d5cd8e9

Please sign in to comment.