Skip to content

Instantly share code, notes, and snippets.

@dasl-
Created June 1, 2017 22:55
Show Gist options
  • Save dasl-/3252097ea167d6971da613a2e6ff34cf to your computer and use it in GitHub Desktop.
Save dasl-/3252097ea167d6971da613a2e6ff34cf to your computer and use it in GitHub Desktop.
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
value.converter=io.confluent.connect.avro.AvroConverter
-key.converter.schema.registry.url=http://localhost:39998
-value.converter.schema.registry.url=http://localhost:39998
+key.converter.schema.registry.url=http://127.0.0.1:39998
+value.converter.schema.registry.url=http://127.0.0.1:39998
# key.converter=org.apache.kafka.connect.json.JsonConverter
# value.converter=org.apache.kafka.connect.json.JsonConverter
key.converter.schemas.enable=true
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 5a21686..2372744 100755
--- a/run.sh
+++ b/run.sh
@@ -268,12 +268,12 @@ for combo in $combo_mysqlds; do
"config": {
"connector.class": "io.debezium.connector.mysql.MySqlConnector",
"tasks.max": "1",
- "database.hostname": "localhost",
+ "database.hostname": "127.0.0.1",
"database.port": "'"${listen_port[$combo]}"'",
"database.user": "root",
"database.password": "root",
- "database.server.name": "localhost",
- "database.history.kafka.bootstrap.servers": "localhost:40001",
+ "database.server.name": "127.0.0.1",
+ "database.history.kafka.bootstrap.servers": "127.0.0.1:40001",
"database.history.kafka.topic": "test",
"database.whitelist": "etsy_.+",
"database.mysql.expect_metadata_events": '"$expect_metadata_events"',
diff --git a/server.properties.php b/server.properties.php
index fd16416..e4e9b51 100644
--- a/server.properties.php
+++ b/server.properties.php
@@ -10,7 +10,7 @@ num.recovery.threads.per.data.dir=1
log.retention.hours=24
log.segment.bytes=1073741824
log.retention.check.interval.ms=300000
-zookeeper.connect=localhost:40000/chroot
+zookeeper.connect=127.0.0.1:40000/chroot
zookeeper.connection.timeout.ms=6000
port=40001
-advertised.host.name=localhost
+advertised.host.name=127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment