Cassandra hosts values for remote cassandra deployment with temporal

Hi,

While configuring hosts when connecting temporal to remote cassandra instance, we are providing load balancer ip of cassandra. But the configuration supports comma separated values for hosts attribute as below :

cassandra:
hosts: [“XX.XXX.XX.7,XX.XXX.XX.9,XX.XXX.XX.10”]
port: 9042

Can someone explain the reason/
significance for having multiple ips here. Are we supposed to give each ip and not the single load balancer one?

@tihomir Please guide.

This is a comma-delimited list of nodes you want / need to connect to.
Depending on deployment, this config needs to point to just one of those nodes in your cassandra ring.