public static ConnectivityStateInfo getStateInfo(final LoadBalancer.Subchannel subchannel) {
        return getAttributeValue(subchannel, STATE_INFO_KEY, null);
    }
Get ConnectivityStateInfo.

@param subchannel subchannel
@return ConnectivityStateInfo info
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/main/java/org/apache/shenyu/plugin/grpc/loadbalance/SubChannels.java