Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ValHayot committed Dec 11, 2024
1 parent eeac24e commit 32ee2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mofa/proxyqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ def connect_request_producer(self):
def connect_request_consumer(self):
if not isinstance(self.request_consumer, StreamConsumer):

request_topic = f"{self.prefix}_requests"
if ENGINE == "octopus":
consumer = Consumer(
confluent_consumer_conf(self.group_id, self.auto_offset_reset)
)
request_topic = f"{self.prefix}_requests"
# consumer.subscribe([request_topic])
topic_partition = TopicPartition(request_topic, partition=0)
consumer.assign([topic_partition])
Expand Down

0 comments on commit 32ee2aa

Please sign in to comment.