From 3ce35fcd71f534769ebc47a06ebd1794a4809303 Mon Sep 17 00:00:00 2001 From: Ben Osheroff Date: Thu, 7 Jan 2016 05:50:24 -0800 Subject: [PATCH] v0.17.0, "wrists of William" v0.17 is a large bugfix release with one new feature. - FEATURE: allow specifying an alternative mysql schema-storage server and replication server - BUGFIX: properly handle case-sensitivity by aping the behavior of the master server. Fixes #230. - BUGFIX: parse some forms of CHECK( ... ) statements. Fixes #203. - BUGFIX: many more SQL-parser fixes. We are mostly through some thousands of lines of SQL produced by mysql-test. --- Dockerfile | 2 +- docs/docs/quickstart.md | 4 ++-- docs/site/mkdocs/search_index.json | 2 +- docs/site/quickstart/index.html | 4 ++-- docs/site/sitemap.xml | 12 ++++++------ pom.xml | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index f0b5f8410..e82b4bef4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y openjdk-7-jre curl RUN mkdir /app WORKDIR /app -RUN curl -sLo - https://github.com/zendesk/maxwell/releases/download/v0.16.2-RC1/maxwell-0.16.2-RC1.tar.gz \ +RUN curl -sLo - https://github.com/zendesk/maxwell/releases/download/v0.17.0-RC1/maxwell-0.17.0-RC1.tar.gz \ | tar --strip-components=1 -zxvf - ADD REVISION / diff --git a/docs/docs/quickstart.md b/docs/docs/quickstart.md index d30ff1b70..76974acc0 100644 --- a/docs/docs/quickstart.md +++ b/docs/docs/quickstart.md @@ -37,9 +37,9 @@ mysql> GRANT ALL on maxwell.* to 'maxwell'@'localhost'; You'll need a version 7 of a JVM. ``` -curl -sLo - https://github.com/zendesk/maxwell/releases/download/v0.16.2-RC1/maxwell-0.16.2-RC1.tar.gz \ +curl -sLo - https://github.com/zendesk/maxwell/releases/download/v0.17.0-RC1/maxwell-0.17.0-RC1.tar.gz \ | tar zxvf - -cd maxwell-0.16.2-RC1 +cd maxwell-0.17.0-RC1 ``` diff --git a/docs/site/mkdocs/search_index.json b/docs/site/mkdocs/search_index.json index fbfba9d50..67b2205cc 100644 --- a/docs/site/mkdocs/search_index.json +++ b/docs/site/mkdocs/search_index.json @@ -7,7 +7,7 @@ }, { "location": "/quickstart/", - "text": "Row based replication\n\n\n\n\nMaxwell can only operate if row-based replication is on.\n\n\n$ vi my.cnf\n\n[mysqld]\nserver-id=1\nlog-bin=master\nbinlog_format=row\n\n\n\n\nOr on a running server:\n\n\nmysql\n set global binlog_row_image=FULL;\n\n\n\n\nMysql permissions\n\n\n\n\nMaxwell stores all the state it needs within the mysql server itself, in a database called \nmaxwell\n.\n\n\nmysql\n GRANT ALL on maxwell.* to 'maxwell'@'%' identified by 'XXXXXX';\nmysql\n GRANT SELECT, REPLICATION CLIENT, REPLICATION SLAVE on *.* to 'maxwell'@'%';\n\n# or for running maxwell locally:\n\nmysql\n GRANT SELECT, REPLICATION CLIENT, REPLICATION SLAVE on *.* to 'maxwell'@'localhost' identified by 'XXXXXX';\nmysql\n GRANT ALL on maxwell.* to 'maxwell'@'localhost';\n\n\n\n\n\nDownload\n\n\n\n\nYou'll need a version 7 of a JVM.\n\n\ncurl -sLo - https://github.com/zendesk/maxwell/releases/download/v0.16.2-RC1/maxwell-0.16.2-RC1.tar.gz \\\n | tar zxvf -\ncd maxwell-0.16.2-RC1\n\n\n\n\nSTDOUT producer\n\n\n\n\nUseful for smoke-testing the thing.\n\n\nbin/maxwell --user='maxwell' --password='XXXXXX' --host='127.0.0.1' --producer=stdout\n\n\n\n\nIf all goes well you'll see maxwell replaying your inserts:\n\n\nmysql\n insert into test.maxwell set id = 5, daemon = 'firebus! firebus!';\nQuery OK, 1 row affected (0.04 sec)\n\n(maxwell)\n{\ntable\n:\nmaxwell\n,\ntype\n:\ninsert\n,\ndata\n:{\nid\n:5,\ndaemon\n:\nfirebus! firebus!\n},\nts\n: 123456789}\n\n\n\n\nRun with kafka producer\n\n\nBoot kafka as described here: \nhttp://kafka.apache.org/07/quickstart.html\n, then:\n\n\nbin/maxwell --user='maxwell' --password='XXXXXX' --host='127.0.0.1' \\\n --producer=kafka --kafka.bootstrap.servers=localhost:9092\n\n\n\n\nThis will start writing to the topic \"maxwell\".", + "text": "Row based replication\n\n\n\n\nMaxwell can only operate if row-based replication is on.\n\n\n$ vi my.cnf\n\n[mysqld]\nserver-id=1\nlog-bin=master\nbinlog_format=row\n\n\n\n\nOr on a running server:\n\n\nmysql\n set global binlog_row_image=FULL;\n\n\n\n\nMysql permissions\n\n\n\n\nMaxwell stores all the state it needs within the mysql server itself, in a database called \nmaxwell\n.\n\n\nmysql\n GRANT ALL on maxwell.* to 'maxwell'@'%' identified by 'XXXXXX';\nmysql\n GRANT SELECT, REPLICATION CLIENT, REPLICATION SLAVE on *.* to 'maxwell'@'%';\n\n# or for running maxwell locally:\n\nmysql\n GRANT SELECT, REPLICATION CLIENT, REPLICATION SLAVE on *.* to 'maxwell'@'localhost' identified by 'XXXXXX';\nmysql\n GRANT ALL on maxwell.* to 'maxwell'@'localhost';\n\n\n\n\n\nDownload\n\n\n\n\nYou'll need a version 7 of a JVM.\n\n\ncurl -sLo - https://github.com/zendesk/maxwell/releases/download/v0.17.0-RC1/maxwell-0.17.0-RC1.tar.gz \\\n | tar zxvf -\ncd maxwell-0.17.0-RC1\n\n\n\n\nSTDOUT producer\n\n\n\n\nUseful for smoke-testing the thing.\n\n\nbin/maxwell --user='maxwell' --password='XXXXXX' --host='127.0.0.1' --producer=stdout\n\n\n\n\nIf all goes well you'll see maxwell replaying your inserts:\n\n\nmysql\n insert into test.maxwell set id = 5, daemon = 'firebus! firebus!';\nQuery OK, 1 row affected (0.04 sec)\n\n(maxwell)\n{\ntable\n:\nmaxwell\n,\ntype\n:\ninsert\n,\ndata\n:{\nid\n:5,\ndaemon\n:\nfirebus! firebus!\n},\nts\n: 123456789}\n\n\n\n\nRun with kafka producer\n\n\nBoot kafka as described here: \nhttp://kafka.apache.org/07/quickstart.html\n, then:\n\n\nbin/maxwell --user='maxwell' --password='XXXXXX' --host='127.0.0.1' \\\n --producer=kafka --kafka.bootstrap.servers=localhost:9092\n\n\n\n\nThis will start writing to the topic \"maxwell\".", "title": "Quick Start" }, { diff --git a/docs/site/quickstart/index.html b/docs/site/quickstart/index.html index f96a57a79..5ce17ecf0 100644 --- a/docs/site/quickstart/index.html +++ b/docs/site/quickstart/index.html @@ -129,9 +129,9 @@

Mysql permissions

Download


You'll need a version 7 of a JVM.

-
curl -sLo - https://github.com/zendesk/maxwell/releases/download/v0.16.2-RC1/maxwell-0.16.2-RC1.tar.gz \
+
curl -sLo - https://github.com/zendesk/maxwell/releases/download/v0.17.0-RC1/maxwell-0.17.0-RC1.tar.gz \
        | tar zxvf -
-cd maxwell-0.16.2-RC1
+cd maxwell-0.17.0-RC1
 

STDOUT producer

diff --git a/docs/site/sitemap.xml b/docs/site/sitemap.xml index b775b6ecc..f61ca269a 100644 --- a/docs/site/sitemap.xml +++ b/docs/site/sitemap.xml @@ -4,7 +4,7 @@ None/ - 2015-12-17 + 2016-01-07 daily @@ -12,7 +12,7 @@ None/quickstart/ - 2015-12-17 + 2016-01-07 daily @@ -20,7 +20,7 @@ None/config/ - 2015-12-17 + 2016-01-07 daily @@ -28,7 +28,7 @@ None/kafka/ - 2015-12-17 + 2016-01-07 daily @@ -36,7 +36,7 @@ None/dataformat/ - 2015-12-17 + 2016-01-07 daily @@ -44,7 +44,7 @@ None/compat/ - 2015-12-17 + 2016-01-07 daily diff --git a/pom.xml b/pom.xml index fa55dd692..48ef0e7ec 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.zendesk maxwell - 0.16.2 + 0.17.0 jar maxwell