MonsterChenzhuo opened a new pull request, #1758: URL: https://github.com/apache/incubator-paimon/pull/1758
<!-- Please specify the module before the PR name: [core] ... or [flink] ... --> ### Purpose It is not ideal that the KafkaSchema#getKafkaSchema() method could potentially execute the new CanalRecordParser operation without checking if records are available first. It is recommended to include a check for the presence of records before performing the new CanalRecordParser operation. The current configuration for retry attempts and retry intervals seems inappropriate: the number of retry attempts is set at 100, and the retry interval is set at 100 milliseconds. It is suggested to adjust these values to a more reasonable setting, such as 5 retry attempts and a retry interval of 1000 milliseconds. Additionally, implementing an exponential backoff strategy would be beneficial, which progressively increases the retry waiting time with each attempt. <!-- What is the purpose of the change --> ### Tests <!-- List UT and IT cases to verify this change --> ### API and Format <!-- Does this change affect API or storage format --> ### Documentation <!-- Does this change introduce a new feature --> -- 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]
