grove.connectors.local package¶
Local / Test connectors for Grove.
Submodules¶
grove.connectors.local.heartbeat module¶
Test connector for Grove.
- class grove.connectors.local.heartbeat.Connector(config: ConnectorConfig, context: Dict[str, str])[source]¶
Bases:
BaseConnector
- LOG_ORDER = 'CHRONOLOGICAL'¶
- NAME = 'local_heartbeat'¶
- POINTER_PATH = 'timestamp'¶
- property count¶
Fetches the count of heartbeat messages to emit from the configuration.
- Returns:
The number of heartbeat messages to emit.
- property interval¶
Fetches the interval to emit a heartbeat message from the configuration.
- Returns:
The heartbeat interval, in seconds.