Skip to content

grpc client with consul discovery: help with programatic way to create clients #9961

Closed Answered by krickert
krickert asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krickert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant