To integrate with Diaspora Event Fabric using KafkaProducer
and KafkaConsumer
, install the SDK with kafka-python
:
pip install "diaspora-event-sdk[kafka-python]"
For other Kafka client libraries (e.g., confluent-kafka-python
, aiokafka
), install the SDK without kafka-python
:
pip install diaspora-event-sdk
Note: This does not include KafkaProducer
and KafkaConsumer
dependencies.
Check our Notebook for a quickstart and demonstration.