Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17553

Enable flight.Server to register additional grpc services

Details

    Description

      The grpc.Server is unexported within flight.Server (code ref); therefore, it's not possible to register additional grpc services, such as health check, reflection, on the flight.Server.

      Usage:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              zhangjie@gmail.com Jie Zhang
              zhangjie@gmail.com Jie Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m

                  Slack

                    Issue deployment