ExAliyun.MNS.subscribe

You're seeing just the function subscribe, go back to ExAliyun.MNS module for more information.
Link to this function

subscribe(topic_url, subscription_name, endpoint, opts \\ [])

Specs

subscribe(
  topic_url :: String.t(),
  subscription_name :: String.t(),
  endpoint :: String.t(),
  opts :: Keyword.t()
) :: result()

Create a subscription to a topic.

Alibaba Cloud API Docs

Options

  • :config_overrides, optional, the options in config_overrides, please see request/2 for details;
  • :filter_tag, optional, a string no more than 16 characters, there is no message filter set by default;
  • :notify_strategy, optional, "BACKOFF_RETRY" or "EXPONENTIAL_DECAY_RETRY", as "BACKOFF_RETRY" by default;
  • :notify_content_format, optional, "XML", "JSON", or "SIMPLIFIED", as "XML" by default