zqr10159 opened a new pull request, #4071:
URL: https://github.com/apache/hertzbeat/pull/4071

   This pull request introduces significant improvements to the documentation 
and build process for the native collector, as well as updates to Java version 
requirements and JDBC handling. The main highlights are the addition of a 
GitHub Actions workflow for native collector builds, clearer installation and 
usage instructions across multiple languages, and a move to Java 25 throughout 
the project. Additionally, the collector's JDBC query logic is refactored to 
improve maintainability and flexibility.
   
   **Build and Release Process:**
   - Added a new GitHub Actions workflow 
(`.github/workflows/collector-native-build.yml`) to automate building and 
packaging of native collector releases for multiple platforms, streamlining the 
release process.
   
   **Documentation Updates (English, Chinese, Japanese):**
   - Updated installation instructions in `README.md`, `README_CN.md`, and 
`README_JP.md` to:
     - Use the new package naming convention (`apache-hertzbeat-xx-bin.tar.gz`).
     - Clearly differentiate between JVM and native collector packages, and 
provide platform-specific details for native collector installation and startup.
     - Explain the logic for JDBC driver usage and fallback to built-in query 
engines, including special cases for Oracle and DB2. 
[[1]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L133-R138)
 
[[2]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L151-R161)
 
[[3]](diffhunk://#diff-e6db595f1598cdd1968f25675bddebde43afe7e5a39e0aade96034d51c072ee7L130-R135)
 
[[4]](diffhunk://#diff-e6db595f1598cdd1968f25675bddebde43afe7e5a39e0aade96034d51c072ee7L148-R158)
 
[[5]](diffhunk://#diff-3629b3e65246c37e96658c8e152222668d9313279ba005aee3f37b2c2afeef25L111-R111)
 
[[6]](diffhunk://#diff-3629b3e65246c37e96658c8e152222668d9313279ba005aee3f37b2c2afeef25L129-R135)
 
[[7]](diffhunk://#diff-3629b3e65246c37e96658c8e152222668d9313279ba005aee3f37b2c2afeef25L151-R161)
   
   **Java Version Requirement Updates:**
   - Increased the required Java version from 21 to 25 in documentation 
(`README.md`, `README_CN.md`, `README_JP.md`, `CONTRIBUTING.md`) and Maven 
configuration files (`hertzbeat-ai/pom.xml`, 
`hertzbeat-collector/hertzbeat-collector-basic/pom.xml`). 
[[1]](diffhunk://#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055L35-R35)
 
[[2]](diffhunk://#diff-eca12c0a30e25b4b46522ebf89465a03ba72a03f540796c979137931d8f92055L175-R175)
 
[[3]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L151-R161)
 
[[4]](diffhunk://#diff-e6db595f1598cdd1968f25675bddebde43afe7e5a39e0aade96034d51c072ee7L148-R158)
 
[[5]](diffhunk://#diff-3629b3e65246c37e96658c8e152222668d9313279ba005aee3f37b2c2afeef25L151-R161)
 
[[6]](diffhunk://#diff-f599babd7e92e2d84200f41bfeeb52d0661ff2d888fd9669fc313e74595d3ee4L30-R30)
 
[[7]](diffhunk://#diff-e32d6ad5c375362f03fbbc19c5ff0073d1abd8433352b82028366ff4d7ea8aa2L33-R34)
   
   **JDBC Handling and Codebase Improvements:**
   - Refactored JDBC query logic in `JdbcCommonCollect.java` to utilize a new 
`JdbcQueryRowSet` abstraction, improving support for different query types and 
making the code more modular and maintainable.
   - Removed the direct dependency on `mysql-connector-j` from the collector 
basic module, allowing for more flexible runtime driver management. 
[[1]](diffhunk://#diff-e32d6ad5c375362f03fbbc19c5ff0073d1abd8433352b82028366ff4d7ea8aa2L70-L75)
 
[[2]](diffhunk://#diff-42137f29282279e89ea3170cf6a122a78375f7f892671b1868bd58ab0191a8e8L23)
 
[[3]](diffhunk://#diff-42137f29282279e89ea3170cf6a122a78375f7f892671b1868bd58ab0191a8e8R36-R38)
 
[[4]](diffhunk://#diff-42137f29282279e89ea3170cf6a122a78375f7f892671b1868bd58ab0191a8e8L208-R229)
   
   These changes collectively improve the maintainability, usability, and 
clarity of the project for both developers and end users.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to