Skip to content

Add rabbitmq consumer AutoConfiguration for consumeRun queues priority#35

Open
klesaulnier wants to merge 3 commits intomainfrom
rabbitmq-loadbalancing
Open

Add rabbitmq consumer AutoConfiguration for consumeRun queues priority#35
klesaulnier wants to merge 3 commits intomainfrom
rabbitmq-loadbalancing

Conversation

@klesaulnier
Copy link
Contributor

PR Summary

Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier.pro@gmail.com>
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier.pro@gmail.com>
Signed-off-by: LE SAULNIER Kevin <kevin.lesaulnier.pro@gmail.com>
@sonarqubecloud
Copy link


@AutoConfiguration
@ConditionalOnProperty(
name = "computation.rabbit.consume-run-load-balanced.enabled",
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure about the intent of this?
If it's not used in our services and true by default?

matchIfMissing = true
)
public class RabbitConsumerAutoConfiguration {
private static final String RABBITMQ_CONSUMER_NAME_TO_LOAD_BALANCE = "consumeRun1-in-0";
Copy link
Contributor

Choose a reason for hiding this comment

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

We expect all computation servers to use this consumer name, right?

Copy link
Contributor

@antoinebhs antoinebhs left a comment

Choose a reason for hiding this comment

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

Some comments to discuss?

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