Stargate.registry_key

You're seeing just the function registry_key, go back to Stargate module for more information.
Link to this function

registry_key(tenant, namespace, topic, opts \\ [])

View Source

Specs

registry_key(tenant(), namespace(), topic(), [key_opt()]) ::
  {:via, Registry,
   {atom(), {component(), persistence(), tenant(), namespace(), topic()}}}

Generate the via-tuple needed for addressing a process within the Stargate supervision tree. Expects at minimum the tenant, namespace, and topic of the process being addressed and assumes by default the desired process is the Producer of a persistent topic managed by the default supervisor/registry.

iex> Stargate.registry_key("foo", "bar", "baz") {:via, Registry, {:sg_reg_default, {:producer, "persistent", "foo", "bar", "baz"}}}

iex> Stargate.registry_key("foo", "bar", "baz", registry: MyCustom.Registry, persistence: "non-persistent", component: :producer_ack) {:via, Registry, {MyCustom.Registry, {:producer_ack, "non-persistent", "foo", "bar", "baz"}}}