Push based name resolution in Go

44 views
Skip to first unread message

daniel...@datadoghq.com

unread,
Dec 5, 2018, 6:23:21 PM12/5/18
to grpc.io
Hi,

In looking at the docs on the Go resolver interface, it seems that it is only possible to implement pull based resolvers. We have an internal resolver that will occasionally know that the addresses the client has are wrong but isn't able to do anything about it. From past conversations and some discussion here (example), I know some thought has been given to a push based resolver. Has there been any progress towards such a thing?

Thanks,
Daniel 

Menghan Li

unread,
Dec 13, 2018, 1:40:11 PM12/13/18
to grpc.io
The current resolver interface is capable of handling push based resolvers.

Call `NewAddress()` whenever you have the updated addresses (when you get a push).

Thanks,
Menghan

Daniel Smith

unread,
Dec 14, 2018, 1:19:05 PM12/14/18
to meng...@google.com, grp...@googlegroups.com
Thanks! I missed that for whatever reason.

--
You received this message because you are subscribed to a topic in the Google Groups "grpc.io" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/grpc-io/D5jWMtV2jrQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/5cb25c0d-999b-4c5d-9baa-5d52bcc53dc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages