-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose the shared attribute in the reactive data source configuration #22292
Expose the shared attribute in the reactive data source configuration #22292
Conversation
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building d9de188
Failures⚙️ Initial JDK 11 Build #- Failing: extensions/reactive-db2-client/runtime
! Skipped: devtools/bom-descriptor-json docs extensions/reactive-db2-client/deployment and 3 more 📦 extensions/reactive-db2-client/runtime✖ |
This needs a formatting change |
d9de188
to
30ce7e5
Compare
This attribute was introduced in Vert.x 4.2.2.
30ce7e5
to
caa01df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rebased and adjusted a small thing in the javadoc. Otherwise, it looks good to go!
I can't say I understand how to use this... is there a better explanation in the vertx docs? I found this one but I'm not sure how this translates to Quarkus users as it seems very specific to vert.x: |
@cescoffier could you have a look at @Sanne 's question? |
@Sanne it allows sharing the connection pool. It can be useful when you do not use Hibernate Reactive :-). |
Sorry I might be slow (and I'm away) but I still don't understand the implications a Quarkus user should understand. "shared" across what? What kind of usage pattern would require this to be set (or not)? The documentation I found is very specific for a Vert.x application - I'm not sure how that translates to a Quarkus application and we need to document that in a way which a typical Quarkus user can understand. In particular I'd want to explore if we actually need a property, or if something should be enforced or inferred. |
@cescoffier I don't understand this concept either:
You mean, something like: connections to different databases might go into one big pool? Or something else? |
Whatever, the documentation should read something like:
Where blah blah blah blah blah explains all the implications of enabling this pretty unintuitive setting. |
…configuration Follows-up on quarkusio#22292 The attribute is used by every other Reactive SQL Client recorder.
…configuration Follows-up on quarkusio#22292 The attribute is used by every other Reactive SQL Client recorder. (cherry picked from commit e7a8deb)
This attribute was introduced in Vert.x 4.2.2.