question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow connectionOptions to change during runtime

See original GitHub issue

Created as a product of the discussion in #242

Feature

When creating a PgPool using the PgPool#pool factory method, provide a way to use a Supplier<PgConnectOptions> instead of plain PgConnectOptions. This will allow changes to the connect options to apply to new connections created by the pool.

Use cases

  • Change credentials periodically (e.g. token with expiration)
  • Change hosts at runtime

Contribution

If you lack the time and want me to create a PR for this, let me know 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vietjcommented, Mar 15, 2021

we are working on a new pool and it will be part of it.

0reactions
vietjcommented, Jun 29, 2021

you can expect this in 4.1.1 by end of next week

On Tue, Jun 29, 2021 at 12:06 PM robotmrv @.***> wrote:

@vietj https://github.com/vietj are there any plans on release date for this feature

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eclipse-vertx/vertx-sql-client/issues/787#issuecomment-870459786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXDCUCXOIRPGBODWXTVYDTVGLKJANCNFSM4SVBK44Q .

Read more comments on GitHub >

github_iconTop Results From Across the Web

class Runtime · AWS CDK
Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler. supportsInlineCode. Type: boolean. Whether the ZipFile (aka ...
Read more >
How To Configure Custom Connection Options for your SSH ...
OpenSSH, the most commonly used command-line SSH client on most systems, allows you to provide customized connection options.
Read more >
View script runtime settings in Performance Center - connect ...
When editing a test and trying to view a scripts runtime settings I get ... and that SQL Server is configured to allow...
Read more >
Configuring advanced options for ESXi/ESX (1038578)
Click the Edit pencil icon. Change the configuration option to the desired new value. Click OK to accept the changes. Note: If an...
Read more >
Working with network connection options
become and become_method as described in Privilege Escalation: enable mode, ... For example, the three options for controlling the connection timeout are as ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found