You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In what version(s) of Spring for Apache Kafka are you seeing this issue?
3.2.1
Describe the bug
When @Listener is used with "properties" (consumer properties overrides) set as part of the annotation, those properties are not applied to configure the key- and value-deserializer.
This is relevant when the deserializers use a schema-registry, and we want to use different clusters and schema-registries for multiple @Listener's.
To Reproduce
Override the "schema.registry.url" property using properties field of listener annotation, check values that are applied in deserializer.
The configs map which is part of public void configure(Map<String, ?> configs, boolean isKey) in Deserializers does currently not contain overridden properties.
Expected behavior
The overridden properties from Listener annotation should be part of the config map which is used to configure the deserializers.