[
https://issues.apache.org/jira/browse/ARROW-17553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jie Zhang updated ARROW-17553:
------------------------------
Description:
The grpc.Server is unexported within flight.Server ([code
ref|https://github.com/apache/arrow/blob/9d867558b50289a159b63f74f0c26af026dbe310/go/arrow/flight/server.go#L155]);
therefore, it's not possible to register additional grpc services, such as
health check, reflection, on the flight.Server.
Usage:
{code:go}
import (
"google.golang.org/grpc/health"
"google.golang.org/grpc/health/grpc_health_v1"
"google.golang.org/grpc/reflection"
)
// Enable health check.
grpc_health_v1.RegisterHealthServer(s, health.NewServer())
// Enable reflection for grpcurl.
reflection.Register(s)
{code}
was:
The grpc.Server is unexported within flight.Server ([code
ref|https://github.com/apache/arrow/blob/9d867558b50289a159b63f74f0c26af026dbe310/go/arrow/flight/server.go#L155]);
therefore, it's not possible to register additional grpc services, such as
health check, reflection, on the flight.Server.
> Enable flight.Server to register additional grpc services
> ---------------------------------------------------------
>
> Key: ARROW-17553
> URL: https://issues.apache.org/jira/browse/ARROW-17553
> Project: Apache Arrow
> Issue Type: New Feature
> Components: FlightRPC
> Affects Versions: 8.0.1
> Reporter: Jie Zhang
> Assignee: Jie Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 10.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The grpc.Server is unexported within flight.Server ([code
> ref|https://github.com/apache/arrow/blob/9d867558b50289a159b63f74f0c26af026dbe310/go/arrow/flight/server.go#L155]);
> therefore, it's not possible to register additional grpc services, such as
> health check, reflection, on the flight.Server.
> Usage:
> {code:go}
> import (
> "google.golang.org/grpc/health"
> "google.golang.org/grpc/health/grpc_health_v1"
> "google.golang.org/grpc/reflection"
> )
> // Enable health check.
> grpc_health_v1.RegisterHealthServer(s, health.NewServer())
> // Enable reflection for grpcurl.
> reflection.Register(s)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)