Skip to content

dubbo-x/fallback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fallback

problem

There is some problem in apache/dubbo-go when using multiple services under grpc protocol.

More detail, if you use multiple services under grpc protocol, only first service will be invoked successfully by consumers.

reason

  • Because services use the same address (or location in codes), so the srv.Start(url) will be executed only once. Refer to openServer.
  • Then the grpc server on provider side will register the first service. Refer to register in start.

how to fix

disadvantage

  • Because we implement unary rpc by streaming rpc, we cannot use unaryInt.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages