hello! trying to work around <https://github.com/g...
# grpc
d
hello! trying to work around https://github.com/grpc/grpc-kotlin/issues/66 with setting up MDC from GRPC context -> while searching online it looks all examples point to GO
metadata.FromIncomingContext
. Does anyone know if there is similar function for Kotlin/Java?
e.g. interceptor accept metadata as parameter so i can do something like
Copy code
metadata.keys().stream()
        .forEach(key -> MDC.put(key, metadata.get(Metadata.Key.of(key,
                Metadata.ASCII_STRING_MARSHALLER))));
ugh looks like it might be a Java limitation