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