public static String getSourceIpForGrpcRequest(RequestMeta meta) {
        String sourceIp = getSourceIp();
        // If can't get from request context, get from grpc request meta.
        if (StringUtils.isBlank(sourceIp)) {
            sourceIp = meta.getClientIp();
        }
        return sourceIp;
    }
@Test
    void getSourceIpForGrpcRequest() {
        when(meta.getClientIp()).thenReturn("3.3.3.3");
        assertEquals("2.2.2.2", NamingRequestUtil.getSourceIpForGrpcRequest(meta));
        RequestContextHolder.getContext().getBasicContext().getAddressContext().setSourceIp(null);
        assertEquals("1.1.1.1", NamingRequestUtil.getSourceIpForGrpcRequest(meta));
        RequestContextHolder.getContext().getBasicContext().getAddressContext().setRemoteIp(null);
        assertEquals("3.3.3.3", NamingRequestUtil.getSourceIpForGrpcRequest(meta));
    }