Filed https://issues.apache.org/jira/browse/RATIS-2168 "Support custom gRPC
services"

Anish, thanks for the great idea!

Tsz-Wo

On Fri, Sep 13, 2024 at 2:06 PM Tsz Wo Sze <[email protected]> wrote:

> Hi Anish,
>
> Currently, the Ratis GrpcService does not allow adding a custom gRPC
> service.
>
> Just have checked the code.  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.  Are you interested in contributing it?
>
> Tsz-Wo
>
>
>
> On Thu, Sep 12, 2024 at 5:27 PM Anish Sneh <[email protected]> wrote:
>
>> Hi team
>>
>> 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.
>>
>> Kind regards
>> --
>> Anish Sneh
>>
>

Reply via email to