Skip to content

Generic RedisKeyExpiredEvent not delivered to @EventListener anymore in 6.0.9 #30712

@on-delete

Description

@on-delete

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?

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions