Skip to main content

Crate camel_redis_repo

Crate camel_redis_repo 

Source
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::RedisError to CamelError.
keyspace
Keyspace helpers for Redis-backed repositories.

Structs§

GeoSearchRow
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).
RedisCacheRepository
Redis-backed cache repository (see module docs).
RedisEndpointConfig
Configuration parsed from a Redis URI.
RedisIdempotentRepository
Redis-backed idempotent repository (see module docs).
RedisPayloadStore
Redis-backed payload storage (see module docs).
SentinelConfig
Configuration for Redis Sentinel failover.

Enums§

GeoUnit
Distance unit for the repository’s geo surface.
TopologyKind
Identifies the Redis topology kind.