Configure the WebSocket data connection to connect to an external load balancer when you have multiple source services sending data to multiple target services. An external load balancer is a hardware or software load balancer that balances load across target services in an external network.
To connect to an external load balancer, use the
Load Balancer IP
property when you configure the data connection.
Example
You create a data flow that uses a WebSocket data connection to write data to an HDFS cluster. In the data flow, you create three File source services to send data to three HDFS target services mapped to multiple EDS Nodes. If the HDFS cluster uses a load balancer to distribute the load across the EDS Nodes, you must configure the IP address of the load balancer when you configure the WebSocket data connection. Ensure that the load balancer configuration contains the IP addresses of all the EDS Nodes to which the HDFS target services are mapped, so that it can perform load balancing to distribute the load.
The following image shows a data flow in which a File source service sends data to an external load balancer: