phamvinh1712 commented on code in PR #3950: URL: https://github.com/apache/flink-cdc/pull/3950#discussion_r2051791281
########## flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresConnectionUtils.java: ########## @@ -0,0 +1,55 @@ +package io.debezium.connector.postgresql.connection; + +import org.apache.flink.cdc.connectors.postgres.source.offset.PostgresOffset; +import org.apache.flink.util.FlinkRuntimeException; + +import io.debezium.connector.postgresql.SourceInfo; +import io.debezium.connector.postgresql.Utils; +import io.debezium.time.Conversions; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.sql.SQLException; +import java.time.Instant; +import java.util.HashMap; +import java.util.Map; + +public class PostgresConnectionUtils { Review Comment: hi @ruanhang1993, I cannot move this function into another package because it needs to access class a protected class `ServerInfo.ReplicationSlot` from debezium. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org