fustor-pusher-fusion
This package provides a PusherDriver implementation for the Fustor Agent service, enabling it to push data to the Fustor Fusion service. It leverages the fustor-fusion-sdk to interact with the Fusion API, handling session management, event pushing, and heartbeats.
Features
- Fusion Integration: Seamlessly pushes events from Fustor Agent to Fustor Fusion.
- Session Management: Manages the session lifecycle with the Fusion service, including session creation and periodic heartbeats.
- Event Pushing: Batches and sends event data to the Fusion service's ingestion endpoint.
- Leverages
fustor-fusion-sdk: Utilizes the official SDK for robust and consistent communication with Fusion.
Installation
This package is part of the Fustor monorepo and is typically installed in editable mode within the monorepo's development environment using uv sync. It is registered as a fustor_agent.drivers.pushers entry point.
Usage
To use the fustor-pusher-fusion driver, configure a Pusher in your Fustor Agent setup with the driver type fusion. You will need to provide the Fusion service endpoint and an API key for authentication.
Example (conceptual configuration in Fustor Agent):
# Fustor 主目录下的 agent-config.yaml
pushers:
my-fusion-pusher:
driver_type: fusion
endpoint: http://localhost:8102/ingestor-api/v1/
credential:
type: api_key
key: YOUR_FUSION_API_KEY
Dependencies
fustor-core: Provides thePusherDriverabstract base class and other core components.fustor-fusion-sdk: The SDK for interacting with the Fustor Fusion service.fustor-event-model: ProvidesEventBasefor event data structures.
Release files for fustor_pusher_fusion 0.2.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fustor_pusher_fusion-0.2.16.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fustor_pusher_fusion-0.2.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / fustor_pusher_fusion-0.2.16.tar.gz
| Download URL | fustor_pusher_fusion-0.2.16.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0a68c03d8164a40d19595d5d59863c8e4a984bf663813c34b3603ea7a0258d7
|
|
BLAKE2b-256 checksum How to use checksums |
c46314d6cd061124a87cd3f1178c9c20156b21ead1d328101c62a551cbce1d56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / fustor_pusher_fusion-0.2.16-py3-none-any.whl
| Download URL | fustor_pusher_fusion-0.2.16-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78679b4a49ba0665fffb92f1ee4101f9ed7e0d6a992656d5610e45b17eb84dc9
|
|
BLAKE2b-256 checksum How to use checksums |
aaae5729abc8dabfde13f38fd0ed6a2b1f41f65080dc8dcea396a69fe8f7e398
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|