joyCurry30 commented on code in PR #3981:
URL: https://github.com/apache/flink-cdc/pull/3981#discussion_r2033109139


##########
flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresStreamingChangeEventSource.java:
##########
@@ -113,7 +113,14 @@ public PostgresStreamingChangeEventSource(
 
     @Override
     public void init() {
-        // refresh the schema so we have a latest view of the DB tables
+        //         It's not necessary to refresh schema again, which is very 
time-consuming.
+        //         The schema of taskContext is the reference of
+        // PostgresSourceFetchTaskContext#schema, and
+        //         has been initialized when submit StreamSplit fetch task by
+        //         IncrementalSourceStreamFetcher#submitTask ->
+        // PostgresSourceFetchTaskContext#configure.
+        //
+        //         refresh the schema so we have a latest view of the DB tables

Review Comment:
   Maybe we should use standard java doc comment.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to