Skip to content

quarkiverse/quarkus-reactive-h2-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quarkus Reactive H2 Client

All Contributors

Version

Welcome to Quarkiverse!

This extension enable usage of reactive client on H2 database. Cause the Vert.x community does not develop a reactive driver for H2, Vert.x JDBC client is used for H2 database access.

The purpose of develop this extension is to speed up testing with in memory H2 database on developer's workstation or build server. Even though the code base is about 90% same with quarkus reactive mysql client, it's not suggested being used in product environments.

As Clement Escoffier had point out in #20471: The problem with the reactive API using a JDBC driver is the heavy usage of worker threads. Everything goes to a worker thread making such kind of solution expensive and slow. It also limits the concurrency and may use the worker threads for a long time (which means that the rest of the system may have to wait to be executed). Once you accept these limitations, sure, you can use that approach. But don't expect any benefits.

Please pick corresponding version with Quarkus version:

Quarkus Reactive H2 Client
2 0.1.x
3.0.0 - 3.2.x 0.2.x
3.3.x 0.3.x

Notice: DevService not supported yet.

Documentation

The documentation for this extension should be maintained as part of this repository and it is stored in the docs/ directory.

The layout should follow the Antora's Standard File and Directory Set.

Once the docs are ready to be published, please open a PR including this repository in the Quarkiverse Docs Antora playbook. See an example here.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Benstone Zhang
Benstone Zhang

💻 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!