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

Force fetch SchemaInfo on Pulsar thread for AutoConsumeSchema #2199

Merged
merged 1 commit into from
Jun 18, 2023

Conversation

ozangunalp
Copy link
Collaborator

In some cases (AutoConsumeSchema or KeyValueSchema) Pulsar schema is fetched lazily, on Message#getValue, and in a blocking way.

This change ensures that the blocking schema fetch happens on pulsar-client-thread and not on event loop thread.

Includes a small fix on how the schema name is shown on logs.

@ozangunalp ozangunalp requested a review from cescoffier June 16, 2023 13:58
@cescoffier cescoffier merged commit 2d135e3 into smallrye:main Jun 18, 2023
@cescoffier cescoffier added this to the 4.7.0 milestone Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants