Generic RedisKeyExpiredEvent not delivered to @EventListener anymore in 6.0.9 #30712
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: regression
A bug that is also a regression
Milestone
I upgraded spring-boot from 6.0.8 to 6.0.9 and noticed, that my @eventlistener is not receiving any RedisKeyExpiredEvent anymore. The method is simply not called. If i use spring-context in version 6.0.8, everything is working fine. So i assume something has changed in this version, which causes this not receiving event anymore.
I enabled the redis events like this on my Application:
@EnableRedisRepositories(enableKeyspaceEvents = RedisKeyValueAdapter.EnableKeyspaceEvents.ON_STARTUP)
The method is annotated like this:
@EventListener public void expiredConfiguredLogLevel(RedisKeyExpiredEvent<ConfiguredLogLevel> redisKeyExpiredEvent){...}
Am i missing something or is this a bug in this version?
The text was updated successfully, but these errors were encountered: