LSQL JDBC Library
A JDBC 4.0 compliant driver for Lenses, suitable for any application that uses the JDBC interface, to communicate with Apache Kafka via the Lenses platform.
Users of this library can:
- Select from topics
- Insert into topics
- Use prepared statements
- Use batched inserts
- Fetch metadata around topics
- Fetch metadata around messages
Documentation
Documentation can be found here.
Download
Download from Maven Central.
Requirements
- Java 1.8+
- Gradle 4.9+
Building
Requires Gradle 4.9+
To build:
./gradlew compileKotlin
For a fatJar:
./gradlew shadowJar
Testing
For testing it requires the Lenses Box to be running locally on http://localhost:3030
./gradlew clean test
License
The project is licensed under the Apache 2 license.