Expand description
Redis-backed service repositories for rust-camel.
This crate provides Redis implementations of the CacheRepository and
IdempotentRepository abstractions from camel-api, reusing the
connection and topology management of camel-component-redis.
Sentinel deployments are supported unconditionally (no feature flag);
TLS is opt-in via the tls feature.
Endpoint configuration types are re-exported so downstream crates do not
need to depend on camel-component-redis directly.
Modules§
- error
- Error mapping from
redis::RedisErrortoCamelError. - keyspace
- Keyspace helpers for Redis-backed repositories.
Structs§
- GeoSearch
Row - One GEOSEARCH result row: the member and its distance from the search origin, in the unit the search was issued with (WITHDIST is always requested by the repository’s geo-search methods).
- Redis
Cache Repository - Redis-backed cache repository (see module docs).
- Redis
Endpoint Config - Configuration parsed from a Redis URI.
- Redis
Idempotent Repository - Redis-backed idempotent repository (see module docs).
- Redis
Payload Store - Redis-backed payload storage (see module docs).
- Sentinel
Config - Configuration for Redis Sentinel failover.
Enums§
- GeoUnit
- Distance unit for the repository’s geo surface.
- Topology
Kind - Identifies the Redis topology kind.