public static Connection getOrCreateConnection(final ServerStream stream,
                                                   final List<ConnectionClosedEventListener> listeners) {
        if (stream instanceof NettyServerStream) {
            return attachChannel(CHANNEL_GETTER.get(WRITE_QUEUE_GETTER.get((NettyServerStream) stream)), listeners);
        }
        return null;
    }
Get netty channel.

@author jiachun.fjc
jraft-extension/rpc-grpc-impl/src/main/java/io/grpc/netty/shaded/io/grpc/netty/NettyConnectionHelper.java