Skip to main content

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.

Topic: Use faust to Process Records

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diaspora-event-sdk-0.1.0.tar.gz (16.6 kB view hashes)

Uploaded Source

Built Distribution

diaspora_event_sdk-0.1.0-py3-none-any.whl (20.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page