fustor-sender-echo
This package provides an "echo" sender driver for the Fustor Agent service. It serves as a basic example and debugging tool for SenderDriver implementations. Instead of sending data to an external system, it simply logs all received events and control flags to the Fustor Agent's log output.
Features
- Echo Functionality: Logs all incoming events, including
realtimeandsnapshotdata, to the console/log. - Control Flag Visibility: Displays control flags like
is_snapshot_endandsnapshot_sync_suggestedfor debugging data flow. - Session Management: Implements
create_sessionandheartbeatto demonstrate session lifecycle. - No Configuration Needed: The
get_needed_fieldsmethod returns an empty schema, indicating it accepts all fields without specific requirements. - Wizard Definition: Provides a simple wizard step for UI integration.
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.senders entry point.
Usage
To use the fustor-sender-echo driver, configure a Sender in your Fustor Agent setup with the driver type echo. When a pipe involves this sender, all data processed by the Agent will be logged by this driver.
This driver is particularly useful for:
- Debugging: Understanding the exact data and control signals being sent by the Fustor Agent.
- Development: As a template for creating new
SenderDriverimplementations. - Testing: Verifying that the Fustor Agent's data pipe is correctly delivering events.
Example (conceptual configuration in Fustor Agent):
# Fustor 主目录下的 agent-config.yaml
senders:
my-echo-sender:
driver_type: echo
# No specific configuration parameters needed for the echo driver
Dependencies
fustor-core: Provides theSenderDriverabstract base class and other core components.fustor-event-model: ProvidesEventBasefor event data structures.
Release files for fustor-sender-echo 0.8.17
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_sender_echo-0.8.17.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fustor_sender_echo-0.8.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / fustor_sender_echo-0.8.17.tar.gz
| Download URL | fustor_sender_echo-0.8.17.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbb47ed47b1c0faf4c936a0357a4886ac66067f71de661f947094c3bb47de40a
|
|
BLAKE2b-256 checksum How to use checksums |
fbb6850694587257650dc50e438020fc0aa2b4cbe4da99a424f4230a1a222fdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / fustor_sender_echo-0.8.17-py3-none-any.whl
| Download URL | fustor_sender_echo-0.8.17-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f24d94a4da13353c3f48f444b85b461a7505badc5c708fb3d10404b3acce83c
|
|
BLAKE2b-256 checksum How to use checksums |
9fd3a99a8dbad8e8d60843fc07fe77305d8c3d5b9b9b2cf9b75f48fed6458d35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|