Home > Software design >  How can we use grpc channelz in Java
How can we use grpc channelz in Java

Time:09-22

In the introduction to grpc channelz article, it seems that there is support for channelz for both Golang and Java but the article only contains information related to Golang. After browsing through the web for java, I found this ChannelzService implementation which seems to be deprecated now. Does anyone know how we can use channelz in java to figure out issues related to channels, sockets and servers.

CodePudding user response:

The class you found has been relocated to io.grpc.protobuf.services.ChannelzService.

You linked to io.grpc.services.ChannelzService. If you look just under the horizontal line it says, "Use ChannelzService instead."

CodePudding user response:

I wrote some sample of gRPC in Java, maybe it could help you to use; You can refrence github.com/helloworlde/grpc-java-sample for more detail. Feel free for translate chinese

  • Related