SDK of Diaspora Event Fabric: Resilience-enabling services for science from HPC to edge
Project description
Diaspora: Resilience-enabling services for science from HPC to edge
Event Fabric SDK Installation Guide
Recommended Method: Use with kafka-python
For easy integration with Diaspora Event Fabric, use the KafkaProducer
and KafkaConsumer
classes from our SDK. This requires the kafka-python
library.
To install the Event Fabric SDK and kafka-python,
with the following command:
pip install "diaspora-event-sdk[kafka-python]"
Alternative Installation: Without Kafka Client Library
To use alternative Kafka client libraries (e.g., confluent-kafka-python
, aiokafka
, and libraries for other programming laguages), you can install the SDK without the kafka-python
dependency. This option still provides topic-level access control (authorization) and login credential management features.
To install the SDK without kafka-python
, use:
pip install diaspora-event-sdk
Note: This method does not include dependencies for KafkaProducer
and KafkaConsumer
classes mentioned in the QuickStart
Use Diaspora Event Fabric SDK
Getting Started: Visit our QuickStart Guide for details on using the SDK with the kafka-python library and instructions for other Kafka clients.
Troubleshooting and Credential Management: Consult our TrobleShooting Guide for solving common issues and tips on managing keys effectively.
Advanced Consumers with Faust: Explore the Faust Streaming Guide for advanced event streaming with Faust.
Advanced Consumer Functions: See our Colab example for demonstration.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for diaspora_event_sdk-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1dc92fa887cd4d7219c8b808a7afd455d79fb1301f8f1a7d2795a7c81f31a33 |
|
MD5 | c6dceb5b28158857443feb098815ac7e |
|
BLAKE2b-256 | 19d4db932b8baed3154e0e4428ea113d10959ee0871fcef65b1c1e3a7cb27b6e |