Skip to content

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

Merged
tomsun28 merged 8 commits intoapache:masterfrom
zqr10159:mysql-r2dbc-pr
Mar 21, 2026
Merged

[feat]: add MySQL R2DBC query engine support#4074
tomsun28 merged 8 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
Copy link
Member

@tomsun28 tomsun28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tomsun28 tomsun28 merged commit 922aa31 into apache:master Mar 21, 2026
2 checks passed
@zqr10159 zqr10159 deleted the mysql-r2dbc-pr branch March 21, 2026 13:02
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.

3 participants