GitXplorerGitXplorer
m

noria-mysql

public
67 stars
15 forks
5 issues

Commits

List of commits on branch master.
Verified
808f6ecfff1ca9ba713b8c0b068aeb3e76024ea0

Merge pull request #13 from fussybeaver/ND-listen-addr

mms705 committed 5 years ago
Unverified
9a58a1fa8d26a7226ecd81c7977f0eec4255971c

Merge 'port' argument with 'address'

committed 5 years ago
Unverified
f2412d62d3be115342f7da980436e9ee8b4f527c

Add listen address argument

committed 5 years ago
Verified
a88c2c8cb060f41b54910858af22cd6913240ab5

Latest noria master + tokio-rs/tokio#2160

jjonhoo committed 5 years ago
Verified
b140ffc86117eb561758e2c3af5062ac5b5f4962

Bump some deps while we're at it

jjonhoo committed 5 years ago
Verified
5f43e1ce1bba32351e5968bac75fc2fb9b5544d9

Annotate connection address on span

jjonhoo committed 5 years ago

README

The README file for this repository.

Noria MySQL adapter

This repository contains the MySQL/MariaDB protocol adapter for Noria. The adapter allows legacy applications that use parameterized MySQL queries to directly start using Noria, with no or minimal source code changes.

Running the adapter

To run the adapter and listen on the default MySQL port (3306), simply type:

$ cargo run --release -- --deployment $NORIA_DEPLOYMENT_ID

The NORIA_DEPLOYMENT_ID is the same deployment ID you used when starting the Noria server.

If you would like to use a different port (e.g., because you're also running a MySQL server), pass -p <PORT>.

Connecting to Noria

The MySQL adapter uses ZooKeeper to find the Noria server. To specify the ZooKeeper server location, pass the -z argument:

$ cargo run --release -- --deployment $NORIA_DEPLOYMENT_ID -z 172.16.0.19:2181

... for a ZooKeeper listening on port 2181 at IP 172.16.0.19.