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

Incoming channel concurrency #2382

Merged
merged 10 commits into from
Nov 23, 2023

Conversation

ozangunalp
Copy link
Collaborator

Create multiple copies of the configured channel using, ex.
mp.messaging.incoming.data.concurrency=4 config,
in order to increase the processing concurrency on non-blocking processing

Attributes per copy-channels can be configured using the channel name with $ separator, ex. mp.messaging.incoming.data$1.attribute=...
Each inbound connector channel would dispatch messages accordingly. Connectors based on Vert.x will create separate event loops per channel to dispatch messages. Without the concurrency attribute the current behaviour won't change.

@cescoffier
Copy link
Contributor

I had a quick look - it looks good.

@ozangunalp ozangunalp marked this pull request as ready for review November 22, 2023 11:55
@ozangunalp ozangunalp added this to the 4.12.0 milestone Nov 22, 2023
@cescoffier cescoffier merged commit 56adec7 into smallrye:main Nov 23, 2023
4 checks passed
@ozangunalp ozangunalp deleted the incoming_channel_concurrency branch November 27, 2023 09:15
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.

2 participants