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

Seata example add LoadBalancerClient annotation #3392

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

ruansheng8
Copy link
Collaborator

@ruansheng8 ruansheng8 commented Jul 18, 2023

Describe what this PR does / why we need it

Since 4.0.0, Spring Cloud LoadBalancer supports Spring AOT transformations and native images.

However, to use this feature, you need to explicitly define your LoadBalancerClient service IDs.

You can do so by using the value or name attributes of the @LoadBalancerClient annotation or as values of the spring.cloud.loadbalancer.eager-load.clients property.

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

@ruansheng8 ruansheng8 requested a review from steverao July 18, 2023 07:57
@steverao steverao merged commit b247993 into alibaba:2022.x Jul 18, 2023
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