Maybe you can use something like ServerBuilderSyncPluginDisabler in
async_end2end_test.cc to remove the plugin for those servers.
On Wednesday, December 13, 2017 at 4:41:32 PM UTC-8, Arpit Baldeva wrote:
>
> Hi,
>
> Currently, when the ServerBuilder::BuildAndStart is called, it
> unilaterally goes ahead and binds all the plugins. In server_builder.cc,
>
> for (auto plugin = plugins_.begin(); plugin != plugins_.end(); plugin++) {
> (*plugin)->InitServer(initializer);
> }
>
> et al.
>
> Is it possible to add an option to control it?
>
> The use case I have is that I have multiple grpc server in my application
> and while I'd like to enable reflection support for grpc_cli usage, I'd
> like to limit the usage to certain instances. If there is another way to
> achieve this, please let me know.
>
> Thanks.
>
--
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 [email protected].
To post to this group, send email to [email protected].
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/a8967baf-4a3f-47f1-8174-bdeaa8c35f3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.