flowwarden-stream-core. After these three steps, your LockService and CheckpointStore beans are backed by Redis instead of MongoDB.
1. Add the dependency
flowwarden-redis requires spring-boot-starter-data-redis on the classpath. Spring Boot creates the StringRedisTemplate bean that flowwarden-redis needs, and resolves the underlying Lettuce or Jedis client.2. Configure Redis
Use the standard Spring Boot properties for the Redis connection:application.yml
application.yml
3. Use your stream as usual
Your@ChangeStream / @Checkpoint annotations don’t change. The Redis-backed beans are picked up automatically when the application context starts:
MyStream.java
Verify
Start the application and check the bean wiring. Either look for the Spring Boot startup banner followed by noBeanCreationException, or print the active beans:
MyApp.java
MongoLockService / MongoCheckpointStore instead, check that spring-boot-starter-data-redis is on the classpath and that a StringRedisTemplate bean exists (Spring Boot creates one whenever the starter resolves a working connection).
See Also
Configuration
Properties, storage layout, reactive variants, hybrid setups.
@Checkpoint reference
The annotation that drives the
CheckpointStore SPI Redis backs here.