Skip to content

Instantly share code, notes, and snippets.

diff --git a/debezium-connector-mysql/src/main/java/io/debezium/connector/mysql/BinlogReader.java b/debezium-connector-mysql/src/main/java/io/debezium/connector/mysql/BinlogReader.java
index 6caa6e8..d9f4788 100644
--- a/debezium-connector-mysql/src/main/java/io/debezium/connector/mysql/BinlogReader.java
+++ b/debezium-connector-mysql/src/main/java/io/debezium/connector/mysql/BinlogReader.java
@@ -18,12 +18,23 @@
import java.util.concurrent.atomic.AtomicLong;
import java.util.function.Predicate;
-import com.github.shyiko.mysql.binlog.event.*;
import org.apache.kafka.connect.errors.ConnectException;
function dimLight(light) {
var $light = $(".api_light_dim[data-light-id='" + light + "']");
var value = Math.floor(Math.random() * (255 - 0)) + 0;
$light.val(value);
$light.trigger("change");
}
window.setInterval(function(){
var light = Math.floor(Math.random() * (7 - 1)) + 1;
dimLight(light);
[INFO] DOCKER> [mongo:3.2.12] "mongo1": Start container 5ec95e4a3033
17:54:33.650 mongo1> 2017-04-14T21:54:33.650+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=5ec95e4a3033
17:54:33.650 mongo1> 2017-04-14T21:54:33.650+0000 I CONTROL [initandlisten] db version v3.2.12
17:54:33.650 mongo1> 2017-04-14T21:54:33.650+0000 I CONTROL [initandlisten] git version: ef3e1bc78e997f0d9f22f45aeb1d8e3b6ac14a14
17:54:33.651 mongo1> 2017-04-14T21:54:33.650+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016
17:54:33.651 mongo1> 2017-04-14T21:54:33.650+0000 I CONTROL [initandlisten] allocator: tcmalloc
17:54:33.651 mongo1> 2017-04-14T21:54:33.650+0000 I CONTROL [initandlisten] modules: none
17:54:33.651 mongo1> 2017-04-14T21:54:33.650+0000 I CONTROL [initandlisten] build environment:
17:54:33.651 mongo1> 2017-04-14T21:54:33.650+0000 I CONTROL [initandlisten] distmod: debian81
17:54:33.651 mongo1> 2017-04-14T21:54:33.651+0000 I CONTROL [initandl
diff --git a/percona-server b/percona-server
--- a/percona-server
+++ b/percona-server
@@ -1 +1 @@
-Subproject commit 1c589f930229a55ca31b4c3648458a027f0f8606
+Subproject commit 1c589f930229a55ca31b4c3648458a027f0f8606-dirty
diff --git a/run.sh b/run.sh
index c272b7b..ad10901 100755
--- a/run.sh
+++ b/run.sh
commit 210a9a6bff7b36210a48bd3b3dbc9f2311ef9e84
Author: dleibovic <[email protected]>
Date: Thu May 11 18:32:58 2017 -0400
add a slave_of whitelist for creating connectors. this will be helpful for creating connectors for a subset of the comboshards as the gtid rollout progresses on the multishards (the comboshards are slaves of the multishards).
diff --git a/create-or-update-connectors.php b/create-or-update-connectors.php
index fd8f71f..0736ad1 100755
--- a/create-or-update-connectors.php
+++ b/create-or-update-connectors.php
commit 210a9a6bff7b36210a48bd3b3dbc9f2311ef9e84
Author: dleibovic <[email protected]>
Date: Thu May 11 18:32:58 2017 -0400
add a slave_of whitelist for creating connectors. this will be helpful for creating connectors for a subset of the comboshards as the gtid rollout progresses on the multishards (the comboshards are slaves of the multishards).
diff --git a/create-or-update-connectors.php b/create-or-update-connectors.php
index fd8f71f..0736ad1 100755
--- a/create-or-update-connectors.php
+++ b/create-or-update-connectors.php
commit 210a9a6bff7b36210a48bd3b3dbc9f2311ef9e84
Author: dleibovic <[email protected]>
Date: Thu May 11 18:32:58 2017 -0400
add a slave_of whitelist for creating connectors. this will be helpful for creating connectors for a subset of the comboshards as the gtid rollout progresses on the multishards (the comboshards are slaves of the multishards).
diff --git a/create-or-update-connectors.php b/create-or-update-connectors.php
index fd8f71f..0736ad1 100755
--- a/create-or-update-connectors.php
+++ b/create-or-update-connectors.php
commit b8c989c251bb3d67e587ddbe0b9223e147cbd76e
Author: dleibovic <[email protected]>
Date: Thu May 11 18:32:58 2017 -0400
add a slave_of whitelist for creating connectors. this will be helpful for creating connectors for a subset of the comboshards as the gtid rollout progresses on the multishards (the comboshards are slaves of the multishards).
diff --git a/create-or-update-connectors.php b/create-or-update-connectors.php
index fd8f71f..7c95d34 100755
--- a/create-or-update-connectors.php
+++ b/create-or-update-connectors.php
__consumer_offsets
_schemas
beacon-fail
beacon-main
beacon-main-admin
beacon-main-bots
beacon-main-craft-view-listing
beacon-main-etsy-view-listing
beacon-main-etsy-view-listings
beacon-main-json-test
[INFO] DOCKER> [mongo:3.2.12] "mongo1": Start container 36790a9aaed2
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=36790a9aaed2
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandlisten] db version v3.2.12
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandlisten] git version: ef3e1bc78e997f0d9f22f45aeb1d8e3b6ac14a14
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandlisten] allocator: tcmalloc
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandlisten] modules: none
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandlisten] build environment:
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandlisten] distmod: debian81
11:40:43.870 mongo1> 2017-05-19T15:40:43.870+0000 I CONTROL [initandl