Astarte.DataAccess.Config.cqex_nodes

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

cqex_nodes(namespace \\ nil)

View Source

Specs

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

A list of {host, port} values of accessible Cassandra nodes in a cqex compliant format

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

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