https://github.com/timeplus-io/proton-java-driver
JDBC driver for Timeplus Proton
https://github.com/timeplus-io/proton-java-driver
Last synced: 10 months ago
JSON representation
JDBC driver for Timeplus Proton
- Host: GitHub
- URL: https://github.com/timeplus-io/proton-java-driver
- Owner: timeplus-io
- License: apache-2.0
- Created: 2022-03-19T04:26:27.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2024-08-22T03:01:27.000Z (almost 2 years ago)
- Last Synced: 2025-04-21T19:30:16.057Z (about 1 year ago)
- Language: Java
- Homepage: https://timeplus.com
- Size: 3.74 MB
- Stars: 7
- Watchers: 5
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
## Timeplus JDBC driver (over HTTP)
This repo is a forked from https://github.com/ClickHouse/clickhouse-java with necessary revisions to better fit streaming processing and Timeplus. It works for both [Timeplus Proton](https://github.com/timeplus-io/proton) and [Timeplus Enterprise](https://docs.timeplus.com/timeplus-enterprise).
The build / packaging process etc are the same as the source repo.
This library is available on maven central repository since Nov 17, 2023.
```xml
com.timeplus
proton-jdbc
${http-jdbc.version}
```
```
dependencies {
implementation 'com.timeplus:proton-jdbc:${http-jdbc.version}'
}
```
For how to use the JDBC driver, please check the [README in proton repo](https://github.com/timeplus-io/proton/tree/develop/examples/jdbc).
To compile and publish the project, run the following command (making sure you have a Timeplus Proton or Enterprise running):
```bash
export GPG_TTY=$(tty)
mvn -Drelease clean source:jar package install gpg:sign -Drevision=
# or disable tests
mvn -Drelease clean source:jar package install gpg:sign -DskipITs -DskipTests -Drevision=..
```
In some cases,the asc file is not properly generated and cannot be verified via `gpg --verify proton-jdbc/target/proton-jdbc-.jar.asc` You may need to regenerate it via `gpg -ab proton-jdbc/target/proton-jdbc-.jar`
Please check the README in [proton-jdbc](proton-jdbc) sub-folder for more details.