lvyanquan commented on PR #4509:
URL: https://github.com/apache/flink-cdc/pull/4509#issuecomment-5337252265

   And Could we make this metric opt-in through a source configuration instead 
of enabling it by default?
   
   This is not a purely local metric. It executes `SHOW MASTER STATUS` against 
the MySQL server every 10 seconds. Enabling it by default means that all 
existing CDC jobs will start issuing additional queries after upgrading, even 
when users do not need this metric. When many CDC jobs connect to the same 
MySQL instance, these recurring queries may accumulate and introduce unexpected 
server-side overhead.
   
   I suggest disabling this feature by default and providing a configuration 
option to enable it explicitly. When disabled, the connector should skip both 
metric registration and the periodic master-status query.


-- 
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