This is a reference implementation of an Apache ArrowFlight server to be used together with cq-destination-arrowflight.
It is a simple server that can be used to test and develop other ArrowFlight clients and various server handlers.
To run the server, simply run the following command:
$ go run .
11:46PM INF Serving flight server addr=localhost:9090
The server can be configured using the following flags:
-auth-token
: The auth token to use for the server. Default isfoobar
.-host
: The host to bind the server to. Default islocalhost
.-port
: The port to bind the server to. Default is9090
.
The server has the following handlers:
This handler does nothing. It is useful for testing the server and to use as a base for creating new handlers.
The handler can be found in the internal/noophandler
package.