Astarte.RPC.Config.amqp_connection_username

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

amqp_connection_username(namespace \\ nil)

View Source

Specs

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

Username for accessing the AMQP broker.

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

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