Package com.aim2be.platform.outbox.redis
package com.aim2be.platform.outbox.redis
-
ClassDescriptionDurability-SLA validator (refinement #7).Spring Boot auto-configuration for the
redis-outbox-backendmodule (Wave A.2 Phase 0b).Redis Lua-EVAL implementation of theOutboxBackendSPI (Wave A.2 Phase 0b, design doc.planning/32-wave-a2-redis-outbox-design.md).Exponential-backoff calculator for the failure re-score of the:pendingsorted-set (refinement #5 — score bynextAttemptAt, notcreatedAt, so a Kafka outage does not hot-loop the oldest entries).Thrown byRedisDurabilityValidatorinRedisOutboxProperties.EnforcementMode.FAIL_FASTmode when the Redis store is not configured for durable, fail-closed writes (refinement #7).JSON-serialisable value stored in the:entriesHash field for one outbox event (design doc core storage model).Derives the four co-located Redis keys the backend touches, all sharing the configured hash-tag prefix so a single LuaEVALstays single-slot in cluster mode (refinement #8 — cluster-safe by construction; the dev cluster is standalone today, but tagging now is free and removes a future migration).Micrometer binder for the Redis-outbox metrics.Cold-path poller for the Redis backend (refinements #4 + #5).Type-safe configuration for theredis-outbox-backendmodule (Wave A.2 Phase 0b, design doc.planning/32-wave-a2-redis-outbox-design.md).Resilience4j circuit-breaker tuning for the inline hot relay — mirrors the PG publisher'sim2be.outbox.circuit-breaker.*so a degraded broker short-circuits the hot path (the cold poller still drains PENDING).Durability-SLA enforcement configuration (refinement #7).How a durability-config violation is handled (refinement #7).Cold-path poller + single-writer lock configuration (refinements #4 + #5).zset/hash reconciliation configuration (refinement #10).SENT-entry retention cleanup configuration (refinement #9).Inline hot relay for the Redis backend.zset/hash reconciliation sweep (refinement #10).Per-class repair counts from one reconciliation pass.SENT-entry retention sweep (refinement #9).Loads + holds the LuaRedisScriptsingletons the backend executes.Unchecked exception for unrecoverable Redis-outbox storage failures — a failed JSON (de)serialisation, an unexpectednullEVAL result, or an unrecognised script return value.DeterministicTicketExpiredevent-id generator —UUIDv3(namespace, ticket_id "|" expires_at_epoch_ms)(refinement #2 + ADR-0014 D-4 /0014-supporting/identity-redis-outbox-backend.md).