I have a multimaster spark configuration with zookeeper like this:
2 spark-master registered in zookeeper and two workers who register with the leader of the spark master, in addition the jobs are sent through livy which is an api rest.
My question is: how load balancing would be handled in ecs-fargate-elb taking into account that each component (spark-master, zookeeper, spark-workers, livy) is deployed in an independent ecs service.