Alternative driver for ClickHouse.
Temprorarily freezed. This version worked fine for custom loads, but there were quite specific requirements. Pull/feature requests and any other questions are much appreciated. Authors contunie working on it, but in relatively slow pace.
- This one communicates with CH via native tcp protocol. That offers more features (e.g. query progress) and possibilities for optimizations.
- Sometime you don't need a jdbc.
- Core module has zero dependencies.
Project is divided in several modules. This one, 'core', contains only basic protocol implementation and has seamless compatibility with java (and no external dependencies). Other modules (integration with reactive-streams, jdbc layer, automatic derivation of decoders) will reside in neighboring repositories.
- support all CH datatypes (including multidimensional arrays), selects / inserts / ddl
- use 'reactive streams api'
- nio (netty?)
- pool of connections (load balancing)
- ssl / tls
- streaming selects / inserts
- jdbc layer
- automatic derivation of decoders (for Scala)
- compression (in CH terms)
Integration tests and load tests.
You can also run them with sbt test
or sbt bench:test
(bunch of testcontainers-based tests).
At the moment, version is 0.0.2, and it's not ready (generally speaking) for production. However, you can play around with it, send feature / pull requests, use it for inspiration.