Skip to content

Instantly share code, notes, and snippets.

diff --git a/debezium-connector-mongodb/pom.xml b/debezium-connector-mongodb/pom.xml
index fec4250..5c2ccca 100644
--- a/debezium-connector-mongodb/pom.xml
+++ b/debezium-connector-mongodb/pom.xml
@@ -115,7 +115,7 @@
<color>yellow</color>
</log>
<wait>
- <log>(?s)waiting for connections on port 27017.*waiting for connections on port 27017</log> <!-- internal port, multiline matching -->
+ <log>waiting for connections on port 27017</log> <!-- internal port -->
This file has been truncated, but you can view the full file.
Cleaning up workspace...
Creating mysqlds...
WARNING: The host '4542' could not be looked up with ./workspace/mysql/bin/resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...WARNING: The host '4542' could not be looked up with ./workspace/mysql/bin/resolveip.
This file has been truncated, but you can view the full file.
+ source common.sh
++ set -o pipefail
+ is_twitter_patch=true
+ getopts :nh opt
+ info 'Cleaning up workspace...'
+ printf '\033[0;32m%s\033[0m\n' 'Cleaning up workspace...'
Cleaning up workspace...
+ rm -rf workspace/mysql-data-a workspace/mysql-data-b workspace/mysql-data-c workspace/mysql-data-d
+ rm -rf workspace/zookeeper/data
+ rm -rf workspace/zookeeper/logs
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
diff --git a/connect.properties.php b/connect.properties.php
index 13f02fe..54ab0c1 100644
--- a/connect.properties.php
+++ b/connect.properties.php
@@ -1,10 +1,10 @@
<?php
$opt= getopt('p:g:');
-?>bootstrap.servers=localhost:40001
+?>bootstrap.servers=127.0.0.1:40001
key.converter=io.confluent.connect.avro.AvroConverter
diff --git a/run.sh b/run.sh
index ffdee2a..8484c90 100755
--- a/run.sh
+++ b/run.sh
@@ -251,16 +251,16 @@ curl -f -m10 -v -i -H "Accept:application/json" -H "Content-Type:application/jso
"connector.class": "io.debezium.connector.mysql.MySqlConnector",
"tasks.max": "1",
"database.hostname": "localhost",
- "database.port": "'"${listen_port[c]}"'",
+ "database.port": "'"${listen_port[d]}"'",
diff --git a/run.sh b/run.sh
index ffdee2a..8484c90 100755
--- a/run.sh
+++ b/run.sh
@@ -251,16 +251,16 @@ curl -f -m10 -v -i -H "Accept:application/json" -H "Content-Type:application/jso
"connector.class": "io.debezium.connector.mysql.MySqlConnector",
"tasks.max": "1",
"database.hostname": "localhost",
- "database.port": "'"${listen_port[c]}"'",
+ "database.port": "'"${listen_port[d]}"'",
diff --git a/Makefile b/Makefile
index 06446dd88..44db95b84 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,12 @@ ifndef NOBANNER
endif
go install $(VT_GO_PARALLEL) -ldflags "$(shell tools/build_version_flags.sh)" ./go/...
+build_debug:
+ifndef NOBANNER