[
https://issues.apache.org/jira/browse/RATIS-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17886759#comment-17886759
]
Tsz-wo Sze commented on RATIS-2168:
-----------------------------------
It seems possible to add such a feature by passing a
Consumer<NettyServerBuilder> object as a parameter (via the Parameters class)
and apply the consumer to the NettyServerBuilder object in GrpcService
constructor. Then, the consumer can add the custom gRPC service to
NettyServerBuilder.
> Support custom gRPC services
> ----------------------------
>
> Key: RATIS-2168
> URL: https://issues.apache.org/jira/browse/RATIS-2168
> Project: Ratis
> Issue Type: New Feature
> Components: gRPC
> Reporter: Tsz-wo Sze
> Priority: Major
>
> Anish has proposed the following interesting idea in the user@ mailing list:
> bq. Is it possible to add custom GRPC functionality lets say a custom service
> HelloWorldService to Ratis GRPC server ? Basically I need to add some extra
> endpoint for GRPC but want to run Ratis Raft and custom service in same
> server and same port.
> - https://lists.apache.org/thread/rh8mrym0bvd7dg3mbpy745qocy8q9dv8
--
This message was sent by Atlassian Jira
(v8.20.10#820010)