Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spangenberg/arrowflight-server-reference-implementation
Apache ArrowFlight Server Reference Implementation
https://github.com/spangenberg/arrowflight-server-reference-implementation
apache arrow cloudquery flight go golang ipc
Last synced: about 2 months ago
JSON representation
Apache ArrowFlight Server Reference Implementation
- Host: GitHub
- URL: https://github.com/spangenberg/arrowflight-server-reference-implementation
- Owner: spangenberg
- License: apache-2.0
- Created: 2024-02-06T17:52:12.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-12T22:54:28.000Z (12 months ago)
- Last Synced: 2024-11-13T13:55:35.064Z (2 months ago)
- Topics: apache, arrow, cloudquery, flight, go, golang, ipc
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apache ArrowFlight Server Reference Implementation
This is a reference implementation of an Apache ArrowFlight server to be used together with [cq-destination-arrowflight](https://github.com/spangenberg/cq-destination-arrowflight).
It is a simple server that can be used to test and develop other ArrowFlight clients and various server handlers.
## Running
To run the server, simply run the following command:
```shell
$ go run .
11:46PM INF Serving flight server addr=localhost:9090
```## Configuration
The server can be configured using the following flags:
- `-auth-token`: The auth token to use for the server. Default is `foobar`.
- `-host`: The host to bind the server to. Default is `localhost`.
- `-port`: The port to bind the server to. Default is `9090`.## Handlers
The server has the following handlers:
### `NoOpHandler`
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.