Astarte.DataAccess.Config.xandra_nodes

You're seeing just the function xandra_nodes, go back to Astarte.DataAccess.Config module for more information.
Link to this function

xandra_nodes(namespace \\ nil)

View Source

Specs

xandra_nodes(Skogsra.Env.namespace()) ::
  {:ok, Astarte.DataAccess.Config.XandraNodes.t()} | {:error, binary()}

A list of host values of accessible Cassandra nodes formatted in the Xandra format

Calling Astarte.DataAccess.Config.xandra_nodes() will ensure the following:

  • Binding order: [:system, :config]
  • OS environment variable: "CASSANDRA_NODES"
  • Type: Astarte.DataAccess.Config.XandraNodes
  • Default: ["localhost:9042"]
  • Required: false
  • Cached: true