I have seen some java examples of how to write a ServerInterceptor to read a custom header from the metadata, but can't find anything on how to attach the interceptor to the service in Quarkus e.g. for this: https://quarkus.io/guides/grpc-service-implementation Or is there another, easier way of reading a custom header in Quarkus, e.g. to get a token?
I got this useful example in the Quarkus Zulip chat from a friendly user:
No need to attach or register the interceptor anywhere.