Skip to content

[feat]: add MySQL R2DBC query engine support#4074

Open
zqr10159 wants to merge 7 commits intoapache:masterfrom
zqr10159:mysql-r2dbc-pr
Open

[feat]: add MySQL R2DBC query engine support#4074
zqr10159 wants to merge 7 commits intoapache:masterfrom
zqr10159:mysql-r2dbc-pr

Conversation

@zqr10159
Copy link
Member

Summary

  • add a built-in MySQL-compatible R2DBC query engine and wire it into collector strategy selection
  • keep JDBC as an optional path when mysql-connector-j is provided from ext-lib, while covering MySQL, MariaDB, OceanBase, and TiDB SQL metrics
  • add startup/runtime compatibility checks, e2e coverage, and documentation updates for native and JVM collector packaging

Verification

  • ./mvnw -pl hertzbeat-startup -am -DskipITs -DskipE2E -Dsurefire.failIfNoSpecifiedTests=false -Dtest=ReactorNettyCompatibilityTest test
  • ./mvnw -pl hertzbeat-collector/hertzbeat-collector-collector -am -DskipITs -DskipE2E -Dsurefire.failIfNoSpecifiedTests=false -Dtest="MysqlJdbcDriverAvailabilityTest,MysqlR2dbcJdbcQueryExecutorTest,CollectStrategyFactoryTest,NativeCollectorDefaultsTest" test

Notes

  • branch was rebuilt from current apache/master so the PR only contains the MySQL R2DBC / compliance line of work

@zqr10159 zqr10159 requested review from Duansg, bigcyy and tomsun28 March 17, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants