YugabyteDB

YugabyteDB is a high-performance, distributed SQL database.

About

YugabyteDB is a high-performance, distributed SQL database designed for global, internet-scale applications, with full PostgreSQL compatibility.

Example

sources:
    my-yb-source:
        kind: yugabytedb
        host: 127.0.0.1
        port: 5433
        database: yugabyte
        user: ${USER_NAME}
        password: ${PASSWORD}
        loadBalance: true
        topologyKeys: cloud.region.zone1:1,cloud.region.zone2:2

Reference

fieldtyperequireddescription
kindstringtrueMust be “yugabytedb”.
hoststringtrueIP address to connect to.
portintegertruePort to connect to. The default port is 5433.
databasestringtrueName of the YugabyteDB database to connect to. The default database name is yugabyte.
userstringtrueName of the YugabyteDB user to connect as. The default user is yugabyte.
passwordstringtruePassword of the YugabyteDB user. The default password is yugabyte.
loadBalancebooleanfalseIf true, enable uniform load balancing. The default loadBalance value is false.
topologyKeysstringfalseComma-separated geo-locations in the form cloud.region.zone:priority to enable topology-aware load balancing. Ignored if loadBalance is false. It is null by default.
ybServersRefreshIntervalintegerfalseThe interval (in seconds) to refresh the servers list; ignored if loadBalance is false. The default value of ybServersRefreshInterval is 300.
fallbackToTopologyKeysOnlybooleanfalseIf set to true and topologyKeys are specified, only connect to nodes specified in topologyKeys. By defualt, this is set to false.
failedHostReconnectDelaySecsintegerfalseTime (in seconds) to wait before trying to connect to failed nodes. The default value of is 5.