vitess-client

Vitess client including quill bindings.

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

io.github.dispalt
ArtifactId

ArtifactId

vitess-client_2.11
Last Version

Last Version

0.1.10
Release Date

Release Date

Type

Type

jar
Description

Description

vitess-client
Vitess client including quill bindings.
Project URL

Project URL

https://github.com/dispalt/vitess-client
Project Organization

Project Organization

io.github.dispalt
Source Code Management

Source Code Management

http://github.com/dispalt/vitess-client/tree/master

Download vitess-client_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.dispalt/vitess-client_2.11/ -->
<dependency>
    <groupId>io.github.dispalt</groupId>
    <artifactId>vitess-client_2.11</artifactId>
    <version>0.1.10</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.dispalt/vitess-client_2.11/
implementation 'io.github.dispalt:vitess-client_2.11:0.1.10'
// https://jarcasting.com/artifacts/io.github.dispalt/vitess-client_2.11/
implementation ("io.github.dispalt:vitess-client_2.11:0.1.10")
'io.github.dispalt:vitess-client_2.11:jar:0.1.10'
<dependency org="io.github.dispalt" name="vitess-client_2.11" rev="0.1.10">
  <artifact name="vitess-client_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.dispalt', module='vitess-client_2.11', version='0.1.10')
)
libraryDependencies += "io.github.dispalt" % "vitess-client_2.11" % "0.1.10"
[io.github.dispalt/vitess-client_2.11 "0.1.10"]

Dependencies

compile (7)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.8
com.google.protobuf : protobuf-java jar 3.0.0
com.trueaccord.scalapb : scalapb-runtime_2.11 jar 0.5.43
io.netty : netty-codec-http2 jar 4.1.6.Final
io.grpc : grpc-netty jar 1.0.1
org.slf4j : slf4j-api jar 1.7.21
com.trueaccord.scalapb : scalapb-runtime-grpc_2.11 jar 0.5.43

Project Modules

There are no modules declared in this project.

Vitess Client for Scala

Maven Central

This is an implementation of the Vitess grpc interface using a full scala toolchain. The reason for this is three-fold.

  • Using ScalaPB gives a more scala-like interface.
  • Netty 4.1 incompatibility. There are two clients one is shaded the other is not. Netty 4.0 to 4.1 introduced multiple binary incompatibilities which makes it hard to integrate two different dependency trees
  • I can build a Quill adapter for Vitess, which is a great lightweight compile-time SQL abstraction.

Quick start

Currently vitess-quill, vitess-client and vitess-shade both support 2.11 and 2.12

SBT

In your build.sbt include the build coordinates hosted on maven like so.

libraryDependencies ++= Seq(
  "com.dispalt" %% "vitess-client" % "0.6.2-SNAPSHOT"
)

Or to use the shaded version instead, include the following artifact.

libraryDependencies ++= Seq(
  "com.dispalt" %% "vitess-shade" % "0.6.2-SNAPSHOT"
)

Quill Support

Add the following to your build dependencies. It will automatically pull in vitess-client, so if you want to use the shaded version, exclude the dependency and

libraryDependencies ++= Seq(
  "com.dispalt" %% "vitess-quill" % "0.6.2-SNAPSHOT"
)

The current version 0.6.x supports Quill 1.2.1

License

Apache 2.0, see the LICENSE file for a full copy.

Versions

Version
0.1.10
0.1.9
0.1.8
0.1.7