Skip to content

Commit

Permalink
v1.1.5, "my brain is a polluted mess"
Browse files Browse the repository at this point in the history
- @dadah89 adds --output_binlog_position to optionally output the
  position with the row
- @dadah89 adds --output_commit_info to turn off xid/commit fields
- maxwell now supports tables with partitions
- maxwell now supports N maxwells per-server.  see the client_id /
  replica_server_id options.
- two parser fixes, for engine=`innodb` and CHARSET ASCII
- lay the ground work for doing master recovery; we add a heartbeat into
  the positions table that we can co-ordinate around.
  • Loading branch information
Ben Osheroff committed Sep 4, 2016
1 parent 4e9c2b8 commit e6bd888
Show file tree
Hide file tree
Showing 10 changed files with 76 additions and 29 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM java:openjdk-7-jre
ENV MAXWELL_VERSION 1.1.4
ENV MAXWELL_VERSION 1.1.5

RUN apt-get update && apt-get -y upgrade

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ but differentiates itself with these features:
Maxwell is intended as a source for event-based readers, eg various ETL applications, search indexing,
stat emitters.

- Download: [https://github.com/zendesk/maxwell/releases/download/v1.1.4/maxwell-1.1.4.tar.gz](https://github.com/zendesk/maxwell/releases/download/v1.1.4/maxwell-1.1.4.tar.gz)
- Download: [https://github.com/zendesk/maxwell/releases/download/v1.1.5/maxwell-1.1.5.tar.gz](https://github.com/zendesk/maxwell/releases/download/v1.1.5/maxwell-1.1.5.tar.gz)
- Source: [https://github.com/zendesk/maxwell](https://github.com/zendesk/maxwell)

<br style="clear:both"/>
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/quickstart.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
### Download
***
- Download binary distro: [https://github.com/zendesk/maxwell/releases/download/v1.1.4/maxwell-1.1.4.tar.gz](https://github.com/zendesk/maxwell/releases/download/v1.1.4/maxwell-1.1.4.tar.gz)
- Download binary distro: [https://github.com/zendesk/maxwell/releases/download/v1.1.5/maxwell-1.1.5.tar.gz](https://github.com/zendesk/maxwell/releases/download/v1.1.5/maxwell-1.1.5.tar.gz)
- Sources and bug tracking is available on github: [https://github.com/zendesk/maxwell](https://github.com/zendesk/maxwell)
- Obligatory copy/paste to terminal:

```
curl -sLo - https://github.com/zendesk/maxwell/releases/download/v1.1.4/maxwell-1.1.4.tar.gz \
curl -sLo - https://github.com/zendesk/maxwell/releases/download/v1.1.5/maxwell-1.1.5.tar.gz \
| tar zxvf -
cd maxwell-1.1.4
cd maxwell-1.1.5
```

### Row based replication
Expand Down
43 changes: 40 additions & 3 deletions docs/site/config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
<li class="toctree-l3"><a href="#schema-storage-host-vs-replica-host">Schema storage host vs replica host</a></li>


<li class="toctree-l3"><a href="#running-multiple-instances-of-maxwell-against-the-same-master">running multiple instances of maxwell against the same master</a></li>

<li><a class="toctree-l4" href="#multiple-instances-on-a-55-server">multiple instances on a 5.5 server</a></li>


</ul>

</li>
Expand Down Expand Up @@ -237,9 +242,14 @@ <h3 id="command-line-options">Command line options</h3>
<td>maxwell</td>
</tr>
<tr>
<td>--max_schemas</td>
<td>how many old schemas maxwell should leave lying around in maxwell.schemas</td>
<td>5</td>
<td>--client_id</td>
<td>unique (string) identifier for this maxwell instance</td>
<td>maxwell</td>
</tr>
<tr>
<td>--replica_server_id</td>
<td>unique (long) identifier for this maxwell instance</td>
<td>6379 (see notes)</td>
</tr>
<tr>
<td>&nbsp;</td>
Expand Down Expand Up @@ -282,6 +292,21 @@ <h3 id="command-line-options">Command line options</h3>
<td></td>
</tr>
<tr>
<td>--output_binlog_position</td>
<td>produced records include binlog position: [true</td>
<td>false]</td>
</tr>
<tr>
<td>--output_commit_info</td>
<td>produced records include commit and xid: [true</td>
<td>false]</td>
</tr>
<tr>
<td>&nbsp;</td>
<td></td>
<td></td>
</tr>
<tr>
<td>--replication_host</td>
<td>mysql host to replicate from. Only specify if different from <code>host</code> (see notes)</td>
<td>schema-store host</td>
Expand Down Expand Up @@ -411,6 +436,18 @@ <h3 id="schema-storage-host-vs-replica-host">Schema storage host vs replica host
the host described by <code>host</code>, <code>user</code>, ..., will be used to write schema information to, and Maxwell will replicate
events from the host described by <code>replication_host</code>, <code>replication_user</code>, ... Note that bootstrapping is not available
in this configuration.</p>
<h3 id="running-multiple-instances-of-maxwell-against-the-same-master">running multiple instances of maxwell against the same master</h3>
<hr />
<p>Maxwell can operate with multiple instances running against a single master, in
different configurations. This can be useful if you wish to have producers
running in different configurations, for example producing different groups of
tables to different topics. Each instance of Maxwell must be configured with a
unique <code>client_id</code>, in order to store unique binlog positions.</p>
<h4 id="multiple-instances-on-a-55-server">multiple instances on a 5.5 server</h4>
<p>With MySQL 5.5 and below, each replicator (be it mysql, maxwell, whatever) must
also be configured with a unique <code>replica_server_id</code>. This is a 32-bit integer
that corresponds to mysql's <code>server_id</code> parameter. The value you configure
should be unique across all mysql and maxwell instances.</p>
<script>
jQuery(document).ready(function () {
jQuery("table").addClass("table table-condensed table-bordered table-hover");
Expand Down
2 changes: 1 addition & 1 deletion docs/site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ <h2>Maxwell = Mysql + Kafka</h2>
<p>Maxwell is intended as a source for event-based readers, eg various ETL applications, search indexing,
stat emitters.</p>
<ul>
<li>Download: <a href="https://github.com/zendesk/maxwell/releases/download/v1.1.4/maxwell-1.1.4.tar.gz">https://github.com/zendesk/maxwell/releases/download/v1.1.4/maxwell-1.1.4.tar.gz</a></li>
<li>Download: <a href="https://github.com/zendesk/maxwell/releases/download/v1.1.5/maxwell-1.1.5.tar.gz">https://github.com/zendesk/maxwell/releases/download/v1.1.5/maxwell-1.1.5.tar.gz</a></li>
<li>Source: <a href="https://github.com/zendesk/maxwell">https://github.com/zendesk/maxwell</a></li>
</ul>
<p><br style="clear:both"/></p>
Expand Down
Loading

0 comments on commit e6bd888

Please sign in to comment.