[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.Executors;
import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadFactory;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
/** /**
* The {@link DebeziumSourceFunction} is a streaming data source that pulls captured change data * 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 // history instance name to initialize FlinkDatabaseHistory
properties.setProperty(FlinkDatabaseHistory.DATABASE_HISTORY_INSTANCE_NAME, engineInstanceName); 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<>( this.debeziumConsumer = new DebeziumChangeConsumer<>(
sourceContext, sourceContext,
deserializer, deserializer,

Loading…
Cancel
Save