Skip to content

Commit

Permalink
fix(consumer_lag): Remove topic from KafkaConsumer config
Browse files Browse the repository at this point in the history
it uses partitions_for_topic, no sub
  • Loading branch information
Smejky338 committed Dec 13, 2023
1 parent d2a9822 commit 9f3d846
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion opl/consumer_lag.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def __init__(
def _getconsumer(self):
# Common parameters for both cases
common_params = {
topic: self.topic,
bootstrap_servers: self.bootstrap_servers,
auto_offset_reset: "latest",
enable_auto_commit: False,
Expand Down

0 comments on commit 9f3d846

Please sign in to comment.