Loading balancing datacenter is not specified

The following error message occurs when the load balancing datacenter (loadBalancing.localDc) is not set in the configuration file.

org.apache.pulsar.common.config.ConfigException: Invalid value [127.0.0.2] for
          configuration contactPoints: When contact points is provided, loadBalancing.localDc must
          also be specified

Remediation

The connector requires that you set the loadBalancing.localDc. DataStax Enterprise datacenter names are case-sensitive.

Check the datacenter name in the cluster by running nodetool status and verify that loadBalancing.localDc exactly matches. Datacenter names are case sensitive.