line / armeria

Your go-to microservice framework for any situation, from the creator of Netty et al. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard.
https://armeria.dev
Apache License 2.0
4.8k stars 914 forks source link

Provide a way to customize default `serviceName` for clients #3428

Open hexoul opened 3 years ago

hexoul commented 3 years ago

F/U #3366

Even if ServiceNaming is introduced, it is only able to customize server-side service names.

Server server = Server.builder()
                      .service(...)
                      .defaultServiceNaming(ServiceNaming.simpleTypeName())
                      .build()

There is a need to design ClientNaming for client-side, maybe RPC or Retrofit, service names like:

ClientOptions.builder()
             .defaultServiceNaming(ClientNaming.simpleTypeName())
             .build()
ikhoon commented 3 years ago

@hexoul Gentle ping. 😉

hexoul commented 3 years ago

I am still interested in, but have no time now. 😭 Anyone can take.

ikhoon commented 3 years ago

I think it is not an urgent issue. You can take your time.