Astarte.RPC.Config.amqp_connection_virtual_host

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

amqp_connection_virtual_host(namespace \\ nil)

View Source

Specs

amqp_connection_virtual_host(Skogsra.Env.namespace()) ::
  {:ok, binary()} | {:error, binary()}

The Virtual Host to be used in the AMQP broker. Must be the same for all components.

Calling Astarte.RPC.Config.amqp_connection_virtual_host() will ensure the following:

  • Binding order: [:system, :config]
  • OS environment variable: "RPC_AMQP_CONNECTION_VIRTUAL_HOST"
  • Type: :binary
  • Default: "/"
  • Required: false
  • Cached: true