https://github.com/jerrinot/flink-connector-questdb
Apache Flink Table & SQL Connector for QuestDB
https://github.com/jerrinot/flink-connector-questdb
flink questdb stream-processing streaming time-series
Last synced: 5 months ago
JSON representation
Apache Flink Table & SQL Connector for QuestDB
- Host: GitHub
- URL: https://github.com/jerrinot/flink-connector-questdb
- Owner: jerrinot
- License: apache-2.0
- Created: 2022-08-29T16:35:42.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-09T07:09:03.000Z (almost 4 years ago)
- Last Synced: 2025-08-09T23:55:55.396Z (10 months ago)
- Topics: flink, questdb, stream-processing, streaming, time-series
- Language: Java
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://github.com/jerrinot/flink-connector-questdb/actions/workflows/ci.yml)
[](https://maven-badges.herokuapp.com/maven-central/info.jerrinot/flink-connector-questdb)
# ⚠️ Deprecation Notice ⚠️
### This repository is no longer maintained. The project has been transfered to the [QuestDB organization](https://github.com/questdb/flink-questdb-connector) and it's maintained there.
# flink-connector-questdb
Apache Flink Table & SQL Connector for QuestDB
[Apache Flink](https://nightlies.apache.org/flink/flink-docs-master/docs/connectors/table/overview/) Sink for QuestDB via [ILP protocol](https://questdb.io/docs/develop/insert-data#influxdb-line-protocol).
## Example
1. Start [local QuestDB](https://questdb.io/docs/get-started/docker)
2. Start [install and start Apache Flink](https://nightlies.apache.org/flink/flink-docs-master/docs/try-flink/local_installation/)
3. Start Apache Flink [SQL Console](https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sqlclient/)
4. Create a dynamic table in Flink SQL Console:
```sql
CREATE TABLE questTable (a BIGINT NOT NULL, b STRING) WITH (
'connector'='questdb',
'host'='localhost',
'table'='flink_table'
)
```
5. Insert an item into the table created in the previous step:
```sql
insert into questTable (a, b) values (42, 'foobar');
```
6. Flink should create a table `flink_table` in QuestDB and eventually insert a new row into it.
TODO: Connector installation!