[debezium] Remove logging security properties

release-1.2
Jark Wu 4 years ago
parent 5264e80a7b
commit 1ee4264e9f
No known key found for this signature in database
GPG Key ID: 85BACB5AEFAE3202

@ -59,7 +59,6 @@ import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
/**
* The {@link DebeziumSourceFunction} is a streaming data source that pulls captured change data
@ -302,11 +301,6 @@ public class DebeziumSourceFunction<T> extends RichSourceFunction<T> implements
// history instance name to initialize FlinkDatabaseHistory
properties.setProperty(FlinkDatabaseHistory.DATABASE_HISTORY_INSTANCE_NAME, engineInstanceName);
// dump the properties
String propsString = properties.entrySet().stream()
.map(t -> "\t" + t.getKey().toString() + " = " + t.getValue().toString() + "\n")
.collect(Collectors.joining());
LOG.info("Debezium Properties:\n{}", propsString);
this.debeziumConsumer = new DebeziumChangeConsumer<>(
sourceContext,
deserializer,

@ -515,7 +515,7 @@ public class MySQLConnectorITCase extends MySQLTestBase {
Thread.sleep(5000L);
try (Connection connection = inventoryDatabase.getJdbcConnection();
Statement statement = connection.createStatement()) {
Statement statement = connection.createStatement()) {
statement.execute("INSERT INTO products VALUES (default,'jacket','water resistent white wind breaker',0.2);"); // 110
statement.execute("INSERT INTO products VALUES (default,'scooter','Big 2-wheel scooter ',5.18);");

Loading…
Cancel
Save