Skip to content

PoC to bridge/share ApplicationEvents between multiple instances of a Spring application.

Notifications You must be signed in to change notification settings

LEDfan/spring-redis-event-bridge

Repository files navigation

Spring + Redis Event Bridge

PoC to bridge/share ApplicationEvents between multiple instances of a Spring application. This can be useful to implement High-Available applications using Spring.

How it works

The pub/sub system of Redis is used to bridge (or share) the built-in ApplicationEvents of Spring across multiple instances of a Spring (Boot) application.

The src/main/java/be/ledfan/springredisevents/eventbridge contains all necessary glue code, the src/main/java/be/ledfan/springredisevents/example contains a minimal working example of the library.

About

PoC to bridge/share ApplicationEvents between multiple instances of a Spring application.

Resources

Stars

Watchers

Forks

Languages