Load 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.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com