Skip to content

Commit

Permalink
fix: change kafka dependency for release issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Mala1180 committed Dec 11, 2024
1 parent 08ac3b6 commit 827ae0f
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 81 deletions.
2 changes: 1 addition & 1 deletion infrastructure/events/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from multiprocessing import Process
from typing import List, Dict

from kafka3 import KafkaConsumer
from kafka import KafkaConsumer
from typing_extensions import Callable

from infrastructure.events import KafkaBroker, get_brokers_from_env
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/events/producer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
from typing import List

from kafka3 import KafkaProducer
from kafka import KafkaProducer

from infrastructure.events import KafkaBroker, get_brokers_from_env
from infrastructure.ws.utils import logger
Expand Down
Loading

0 comments on commit 827ae0f

Please sign in to comment.