Yes a single io.grpc.Server maintains a single registry as you pointed out. You could create one io.grpc.Server instance for each WAR listening on distinct ports.
On Monday, September 16, 2024 at 10:46:20 PM UTC+5:30 Ronald Sigal wrote: > Hi, > > My goal is to have a single gRPC port such that services / interceptors in > each Web Archive are segregated from other WARs. > > It seems that a io.grpc.internal.ServerImpl monitoring a port has a single > HandlerRegistry for methods and a single field for holding all > ServerInterceptors. > > Would I have to set up a port for each WAR to keep things separate? > > By the way, the point of the project is to incorporate gRPC into the > WildFly application > server. > > Thanks, > Ron Sigal > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/27087ae1-2db3-45e3-81b0-241afaa8753an%40googlegroups.com.