Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow registration of RSocket metadata extractors #23645

Merged
merged 1 commit into from
Sep 16, 2019

Conversation

bclozel
Copy link
Member

@bclozel bclozel commented Sep 16, 2019

Prior to this commit, customizing the extraction of RSocket metadata
from frames would require developers to override the default
MetadataExtractor while configuring RSocketStrategies.
This touches on many infrastructure parts, whereas the goal is just to
configure an extra metadata entry extractor using already configured
codecs.

This commit adds a way to register metadata entry extractors on the
RSocketStrategies builder with a Consumer-based API.

Prior to this commit, customizing the extraction of RSocket metadata
from frames would require developers to override the default
`MetadataExtractor` while configuring `RSocketStrategies`.
This touches on many infrastructure parts, whereas the goal is just to
configure an extra metadata entry extractor using already configured
codecs.

This commit adds a way to register metadata entry extractors on the
`RSocketStrategies` builder with a `Consumer`-based API.

Closes spring-projectsgh-23645
@bclozel bclozel added this to the 5.2 GA milestone Sep 16, 2019
@bclozel bclozel self-assigned this Sep 16, 2019
@bclozel bclozel added the type: enhancement A general enhancement label Sep 16, 2019
@bclozel bclozel closed this in 848804a Sep 16, 2019
@bclozel bclozel merged commit 848804a into spring-projects:master Sep 16, 2019
@bclozel bclozel deleted the metadata branch January 31, 2022 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant