[
https://issues.apache.org/jira/browse/ARROW-17553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthew Topol resolved ARROW-17553.
-----------------------------------
Resolution: Fixed
Issue resolved by pull request 13995
[https://github.com/apache/arrow/pull/13995]
> 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: 1h 10m
> 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"
> )
> s := flight.NewFlightServer()
> // 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)