Skip to content

Conversation

@garyrussell
Copy link
Contributor

Resolves #2566

Now that both batch and record listners can be created by a single factory, it should be possible to configure both a RecordMessageConverter and BatchMessageConverter.

Previously, only a single MessageConverter could be configured.

cherry-pick to 2.9.x

Resolves spring-projects#2566

Now that both batch and record listners can be created by a single factory,
it should be possible to configure both a `RecordMessageConverter` and
`BatchMessageConverter`.

Previously, only a single `MessageConverter` could be configured.

**cherry-pick to 2.9.x**
Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need some docs updates on the matter as well?
Thanks

@artembilan artembilan merged commit 083aff6 into spring-projects:main Feb 2, 2023
@artembilan
Copy link
Member

Back-ported as b902b63 after some minor conflict fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to use KafkaListenerContainerFactory with custom message converter for batch and record listeners

2 participants