Shubham Sharma
Shubham Sharma

Reputation: 51

How can we use grpc channelz in Java

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.

Upvotes: 1

Views: 645

Answers (2)

HelloWood
HelloWood

Reputation: 805

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

Upvotes: 1

Eric Anderson
Eric Anderson

Reputation: 26414

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."

Upvotes: 0

Related Questions