Skip to content

Add Redis pub/sub datastore#516

Merged
agbpatro merged 1 commit into
mainfrom
redis_datastore
Jun 17, 2026
Merged

Add Redis pub/sub datastore#516
agbpatro merged 1 commit into
mainfrom
redis_datastore

Conversation

@agbpatro

Copy link
Copy Markdown
Collaborator

Description

  • Add a Redis dispatcher that publishes telemetry records over Redis
    pub/sub, selectable per record type via the "redis" dispatch rule.
  • Route each record to the per-VIN subscriber channels in a sorted set
    (configurable prefix); entries scored with an epoch lease expiry are
    purged when past due. With publish_vin_topics, also publish to the VIN
    channel {}.

Please select all options that apply to this change:

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update

Checklist:

Confirm you have completed the following steps:

  • My code follows the style of this project.
  • I have performed a self-review of my code.
  • I have made corresponding updates to the documentation.
  • I have added/updated unit tests to cover my changes.
  • I have added/updated integration tests to cover my changes.

@agbpatro agbpatro force-pushed the redis_datastore branch 3 times, most recently from 30e48cd to 2fb9bc5 Compare June 15, 2026 20:11
Comment thread README.md Outdated

## Reliable Acks
Fleet Telemetry can send ack messages back to the vehicle. This is useful for applications that need to ensure the data was received and processed. To enable this feature, set `reliable_ack_sources` to one of configured dispatchers (`kafka`,`kinesis`,`pubsub`,`zmq`, `mqtt`) in the config file. Reliable acks can only be set to one dispatcher per recordType. See [here](./test/integration/config.json#L8) for sample config.
Fleet Telemetry can send ack messages back to the vehicle. This is useful for applications that need to ensure the data was received and processed. To enable this feature, set `reliable_ack_sources` to one of configured dispatchers (`kafka`,`kinesis`,`pubsub`,`zmq`, `mqtt`, `redis`) in the config file. Reliable acks can only be set to one dispatcher per recordType. See [here](./test/integration/config.json#L8) for sample config.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor:
Fleet Telemetry can send ack messages -> Fleet Telemetry sends ack messages
then
To tie acks to a datasource, set...

- Add a Redis dispatcher that publishes telemetry records over Redis
  pub/sub, selectable per record type via the "redis" dispatch rule.
- Route each record to the per-VIN subscriber channels in a sorted set
  (configurable prefix); entries scored with an epoch lease expiry are
  purged when past due. With publish_vin_topics, also publish to the VIN
  channel <namespace>_<txtype>_{<vin>}.
@agbpatro agbpatro merged commit 739eb4d into main Jun 17, 2026
6 checks passed
@agbpatro agbpatro deleted the redis_datastore branch June 17, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants