-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c75939
commit 88d70e8
Showing
4 changed files
with
25 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<h1>Diaspora Event Fabric: Resilience-enabling services for science from HPC to edge</h1> | ||
# Diaspora: 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. | ||
## 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 Diaspora Event SDK along with `kafka-python,` execute: | ||
To install the Event Fabric SDK and `kafka-python,` with the following command: | ||
```bash | ||
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). | ||
### 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 client libraries, simply run: | ||
To install the SDK without `kafka-python`, use: | ||
```bash | ||
pip install diaspora-event-sdk | ||
``` | ||
Note: This does not install the necessary dependency for `KafkaProducer` and `KafkaConsumer` classes. | ||
Note: This method does not include dependencies for `KafkaProducer` and `KafkaConsumer` classes mentioned in the QuickStart | ||
|
||
## Use Diaspora Event Fabric SDK | ||
|
||
Please refer to our [QuickStart Guide](docs/quickstart.md) for recommended use with `kafka-python` library as well as steps to use your own Kafka client. | ||
**Getting Started**: Visit our [QuickStart Guide](docs/quickstart.md) for details on using the SDK with the kafka-python library and instructions for other Kafka clients. | ||
|
||
Please refer to our [TrobleShooting Guide](docs/troubleshooting.md) for debugging common problems and effective key management strategies. | ||
**Troubleshooting and Credential Management**: Consult our [TrobleShooting Guide](docs/troubleshooting.md) for solving common issues and tips on managing keys effectively. | ||
|
||
[Topic: Use faust to Process Records](docs/faust_weather_app.md) | ||
**Advanced Usage**: Explore the [Faust Streaming Guide](docs/faust_weather_app.md) for advanced event streaming with Faust. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters