diff --git a/diaspora_event_sdk/sdk/kafka_client.py b/diaspora_event_sdk/sdk/kafka_client.py index 01e172f..d5f7425 100644 --- a/diaspora_event_sdk/sdk/kafka_client.py +++ b/diaspora_event_sdk/sdk/kafka_client.py @@ -8,8 +8,8 @@ # If kafka-python is not installed, Kafka functionality is not available through diaspora-event-sdk. kafka_available = True try: - from kafka import KafkaProducer as KProd # type: ignore[import-not-found] - from kafka import KafkaConsumer as KCons # type: ignore[import-not-found] + from kafka import KafkaProducer as KProd # type: ignore[import,import-not-found] + from kafka import KafkaConsumer as KCons # type: ignore[import,import-not-found] except ImportError: kafka_available = False