Overview
TheBroker class configures the connection and topic settings for Kafka message brokers used in the AveniECA streaming architecture.
Class Reference
Broker
Dataclass for Kafka broker configuration.
Import:
Fields
The Kafka broker URL (e.g.,
localhost:9092)The topic to subscribe to for incoming messages
The topic to publish outgoing messages to
The consumer group ID for coordinated message consumption
Controls where to start reading messages when no committed offset exists:
"latest"- Start from the newest messages"earliest"- Start from the oldest available messages
Usage Examples
Basic Configuration
Production Configuration
Multiple Brokers
Related
- API Configuration - Configure API authentication
- Signal Utilities - Process signal state data