On Mon, Jun 13, 2016 at 3:03 AM, Benson Wang <benson.w...@symbio.com> wrote:

> We register our services by the way below. But we cannot remove the
> registered services from gRPC.
>

If you want to mutate the services after you start the server, you need to
provide your own HandlerRegistry. For example, you can pass a
MutableHandlerRegistry
<https://github.com/grpc/grpc-java/blob/v0.14.0/core/src/main/java/io/grpc/MutableHandlerRegistry.java>
(note
that this will be renamed to io.grpc.util.MutableHandlerRegistry in the
next release).

It seems gRPC's has not support for service discovery & registry so far. Is
> it in your plan?
>

Is that related to removing services, or is this a completely separate
question?

If it's a separate question, then you want to look at "Name Resolvers."
gRPC does not do service discovery itself but allows integrating with a
service discovery service via Name Resolvers. Is there a particular service
discovery mechanism you would like to use?

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oMCCivNW4_f_yYBrcWL3mvEY1WriSjPB5jFCc%2BSWraq6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to