asyncer-io / r2dbc-mysql

Reactive Relational Database Connectivity for MySQL. The official successor to mirromutth/r2dbc-mysql(dev.miku:r2dbc-mysql).
https://r2dbc.io
Apache License 2.0
196 stars 21 forks source link

Add support for multiple hosts configuration #258

Open mirromutth opened 6 months ago

mirromutth commented 6 months ago

Motivation:

Support for multiple hosts configuration.

Resolves #89

It also resolves #255 because if the user uses multiple hosts we have to resolve the hostname and port ourselves

Modification:

User can only configure one of:

Result:

Support multiple hosts configuration with HA protocol.

Support DNS SRV Records for HA protocol.

mirromutth commented 6 months ago

@jchrys It is going to be a big feature, so I will mark it to 1.2.0