-
What I'm trying to do:
My question: I was looking at the codebase, and the only code I saw that creates this managed channel is in However, due to the lack of exposing that functionality, the only way I can see doing this is by changing the consul code to create an exposed function - but that feels wrong to do. Is there a way I can do this without using the annotation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to find the code that does this action and extracted the class to have the functionality I wanted. There's still a single issue that I'll open a ticket for: the micronaut code breaks with the newest grpc version. It's not in the main branch yet, not sure if there's a ticket for it. |
Beta Was this translation helpful? Give feedback.
I was able to find the code that does this action and extracted the class to have the functionality I wanted.
https://github.com/krickert/search_indexer/blob/master/services/pipeline-processor/src/main/java/com/krickert/search/grpc/ConsulGrpcManagedChannelFactory.java
There's still a single issue that I'll open a ticket for: the micronaut code breaks with the newest grpc version. It's not in the main branch yet, not sure if there's a ticket for it.