SDK of Diaspora Event Fabric: Resilience-enabling services for science from HPC to edge
Project description
Diaspora Event Fabric: Resilience-enabling services for science from HPC to edge
Installation
Recommended Installation with Kafka Client Library
The KafkaProducer
and KafkaConsumer
classes within the SDK are designed for seamless integration with Diaspora Event Fabric using pre-configured settings. For utilizing these classes, the kafka-python
library is necessary.
To install the Diaspora Event SDK along with kafka-python,
execute:
pip install "diaspora-event-sdk[kafka-python]"
Installation Without Kafka Client Library
If you prefer using different client libraries for Kafka communication, you can install the SDK without the kafka-python dependency. The SDK still serves for topic-level access control (authorization) and login credential management (authentication).
To install the SDK without client libraries, simply run:
pip install diaspora-event-sdk
Note: This does not install the necessary dependency for KafkaProducer
and KafkaConsumer
classes.
Use Diaspora Event Fabric SDK
Please refer to our QuickStart Guide for recommended use with kafka-python
library as well as steps to use your own Kafka client.
Please refer to our TrobleShooting Guide for debugging common problems and effective key management strategies.
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.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea7d0293cf21b8b43dcf36b3285c05348ca58318a6618d08fc44f969cb9f416e |
|
MD5 | a5af119c407bbb976a1708ecd914ab5b |
|
BLAKE2b-256 | 1933c4a502bb4df1221503bcdd2682fd8e0947e436bf77465055108c73a902ba |