skip to main content
Hybrid Data Pipeline API reference : Management API : Connector API : Configuring Failover and Balancing Requests with an On-Premises Connector Group
  

Try Now
Configuring Failover and Balancing Requests with an On-Premises Connector Group
To enable failover and balance requests with an On-Premises Connector Group, you must first have multiple On-Premises Connectors installed. (See the Progress DataDirect Hybrid Data Pipeline Installation Guide.)
Once multiple On-Premises Connectors have been installed, take the following steps to enable failover and balance requests.
1. Create an On-Premises Connector Group by executing a POST request to the <base>/connectors endpoint. (See Create a Connector Group for further details, including code samples and parameter descriptions.)
a. To configure failover, set the connectionTimeout and retryDelay properties in the request to the desired values.
b. To enable round-robin request balancing, set the loadBalancing property in the request to Round Robin.
c. To configure round-robin request balancing, specify the weight for each member of the Connector Group in the members array. (Setting weight is optional. The default value for weight is 1.)
2. Note the Connector ID for the group that is returned in the POST response. This is the Connector Group ID.
3. Create a new data source or modify an existing one to use the Connector Group. (See Create a data source and Update a data source for details.)
a. Set the Connector ID for the data source to the Connector Group ID. The Connector Group ID is the Connector ID returned in the POST request that created the group.