aiguofer opened a new pull request, #34815:
URL: https://github.com/apache/arrow/pull/34815

   ### Rationale for this change
   
   In order to add other services, such as the Health Check and Reflection 
services, we need to be able to modify the `ServerBuilder`. A generic hook 
allows users to add services, but also do any other customizations they might 
want to the server.
   
   ### What changes are included in this PR?
   
   Adds `FlightServer.Builder.withTransportHook` to enable adding a hook to 
further configure the server. It also changes the `ServerInterceptorAdapter` so 
it doesn't add middleware to requests for other services.
   
   ### Are these changes tested?
   
   TODO: Create unit tests
   
   ### Are there any user-facing changes?
   
   Yes, this adds a new public API.
   
   TODO: Add documentation on how to add services or further modify the server.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to