Skip to content

Confusion with @RedisListener annotation #3389

Description

@michaldo

Spring Boot 4.1.1-SNAPSHOT

  1. Docs says:

To enable support for @RedisListener annotations, you can add @EnableRedisListeners to one of your @configuration classes, as the following example shows:

Whan can means here? I checked @RedisListener works without @EnableRedisListeners and without @Bean RedisMessageListenerContainer redisMessageListenerContainer

  1. Bean with method annotated with @RedisListener, implementing SubscriptionListener does not receive subscription notification. It is not confusion but feature request (Kafka works that way). Order of subscription should be manageable.

Metadata

Metadata

Assignees

Labels

for: stackoverflowA question that's better suited to stackoverflow.com

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions