qy-liuhuo opened a new pull request, #11066: URL: https://github.com/apache/inlong/pull/11066
<!-- Prepare a Pull Request Change the title of pull request refer to the following example: [INLONG-XYZ][Component] Title of the pull request --> <!-- Specify the issue this pull request going to fix. The following *XYZ* should be replaced by the actual [GitHub Issue](https://github.com/apache/inlong/issues) number)--> In order to more conveniently view the log output, using OpenTelemetry to achieve centralized log reporting - Fixes #11065 ### Motivation <!--Explain here the context, and why you're making that change. What is the problem you're trying to solve.--> In order to more conveniently view the sort task log, we need to achieve a centralized log reporting method. ### Modifications <!--Describe the modifications you've done.--> - Added some Maven dependencies related to openTelemetry at `inlong-sort/sort-flink/base/pom.xml` and `pom.xml` - Designed and implemented an `OpenTelemetryLogger` class to add log reporting functionality for sort-connectors ### Verifying this change *(Please pick either of the following options)* - [x] This change is a trivial rework/code cleanup without any test coverage. - [ ] This change is already covered by existing tests, such as: *(please describe tests)* - [ ] This change added tests and can be verified as follows: *(example:)* - *Added integration tests for end-to-end deployment with large payloads (10MB)* - *Extended integration test for recovery after broker failure* ### Documentation The way to integrate OpenTelemetryAppender for connectors that comply with the [FLIP-27](https://cwiki.apache.org/confluence/display/FLINK/FLIP-27%3A+Refactor+Source+Interface) standard is as follows: 1. Create a new OpenTelemetryLogger object in the corresponding SourceReader construction method and configure relevant parameters(log-collector endpoint,logLevel,layout and so on) 2. Call the install method of the openTelemetryLogger object in the start method of SourceReader 3. Call the uninstall method of the openTelemetryLogger object in the close method of SourceReader -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org