|
1 | | -<div id="maxwell-header"> |
2 | | -</div> |
| 1 | +This is __Maxwell's daemon__, a [change data capture](https://www.confluent.io/blog/how-change-data-capture-works-patterns-solutions-implementation/) application |
| 2 | +that reads MySQL binlogs and writes data changes as JSON to Kafka, Kinesis, and other streaming platforms. |
3 | 3 |
|
4 | | -This is Maxwell's daemon, an application that reads MySQL binlogs and writes |
5 | | -row updates as JSON to Kafka, Kinesis, or other streaming platforms. Maxwell has |
6 | | -low operational overhead, requiring nothing but mysql and a place to write to. |
7 | | -Its common use cases include ETL, cache building/expiring, metrics collection, |
8 | | -search indexing and inter-service communication. Maxwell gives you some of the |
9 | | -benefits of event sourcing without having to re-architect your entire platform. |
10 | 4 |
|
11 | | -<b>Download:</b><br> |
12 | | -[https://github.com/zendesk/maxwell/releases/download/v1.39.5/maxwell-1.39.5.tar.gz](https://github.com/zendesk/maxwell/releases/download/v1.39.5/maxwell-1.39.5.tar.gz) |
13 | | -<br/> |
14 | | -<b>Source:</b><br> |
15 | | -[https://github.com/zendesk/maxwell](https://github.com/zendesk/maxwell) |
16 | | -<br clear="all"> |
17 | 5 |
|
| 6 | +[↓ Download](https://github.com/zendesk/maxwell/releases/download/v1.40.0/maxwell-1.40.0.tar.gz) \| |
| 7 | +[⚝ Source / Community](https://github.com/zendesk/maxwell) \| |
| 8 | +[☝ Getting Started](/quickstart) \| |
| 9 | +[☷ Reference](/config) |
| 10 | + |
| 11 | +__What's it for?__ |
| 12 | + |
| 13 | +- ETL of all sorts |
| 14 | +- maintaining an audit log of all changes to your database |
| 15 | +- cache building/expiring |
| 16 | +- search indexing |
| 17 | +- inter-service communication |
| 18 | + |
| 19 | + |
| 20 | +__It goes like this:__ |
18 | 21 |
|
19 | 22 | ``` |
20 | | - mysql> insert into `test`.`maxwell` set id = 1, daemon = 'Stanislaw Lem'; |
21 | | - maxwell: { |
| 23 | + mysql> update `test`.`maxwell` set mycol = 55, daemon = 'Stanislaw Lem'; |
| 24 | + maxwell -> kafka: |
| 25 | + { |
22 | 26 | "database": "test", |
23 | 27 | "table": "maxwell", |
24 | 28 | "type": "insert", |
25 | 29 | "ts": 1449786310, |
26 | | - "xid": 940752, |
27 | | - "commit": true, |
28 | | - "data": { "id":1, "daemon": "Stanislaw Lem" } |
29 | | - } |
30 | | -``` |
31 | | - |
32 | | -``` |
33 | | - mysql> update test.maxwell set daemon = 'firebus! firebus!' where id = 1; |
34 | | - maxwell: { |
35 | | - "database": "test", |
36 | | - "table": "maxwell", |
37 | | - "type": "update", |
38 | | - "ts": 1449786341, |
39 | | - "xid": 940786, |
40 | | - "commit": true, |
41 | | - "data": {"id":1, "daemon": "Firebus! Firebus!"}, |
42 | | - "old": {"daemon": "Stanislaw Lem"} |
| 30 | + "data": { "id":1, "daemon": "Stanislaw Lem", "mycol": 55 }, |
| 31 | + "old": { "mycol":, 23, "daemon": "what once was" } |
43 | 32 | } |
44 | 33 | ``` |
0 commit comments