Astarte.RPC.Config.amqp_connection_port

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

amqp_connection_port(namespace \\ nil)

View Source

Specs

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

The port of the AMQP broker to connect to.

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

  • Binding order: [:system, :config]
  • OS environment variable: "RPC_AMQP_CONNECTION_PORT"
  • Type: :integer
  • Default: 5672
  • Required: false
  • Cached: true