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

Client id is always haphenated when using micronaut eureka discovery #50

Open
Czyhandsome opened this issue Aug 21, 2020 · 0 comments
Open

Comments

@Czyhandsome
Copy link

I have a eureka micro-service whose service ID is in camelCaseForm, not kebab-case: TradingCenterService

Here is how a created a Client to consume this service:

@Client(id = "TradingCenterService")
public interface TradingCenterClient extends TradingCenterOperations {

    @Get("/v1/quotaTotal/query")
    Single<Result> callUserQuotaQuantity(@Body BaseUserCQQueryDto queryDto);
}

When it get called, it complained No available services for ID: trading-center-service

seems like it always hiphenate the serviceID, which in my case stops me from consuming services with camelCase serviceIDs.

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

No branches or pull requests

1 participant