Conduit v0.11.0 Conduit.Broker.SubscribeRoute View Source

Configuration for a subscription

Link to this section Summary

Functions

Creates a new SubscribeRoute struct

Updates the pipeline property

Link to this section Types

Link to this type pipelines() View Source
pipelines() :: [module()]
Link to this type subscriber() View Source
subscriber() :: module()
Link to this type t() View Source
t() :: %Conduit.Broker.SubscribeRoute{
  name: String.t(),
  opts: Keyword.t(),
  pipelines: pipelines(),
  subscriber: module()
}

Link to this section Functions

Link to this function new(name, subscriber, opts, pipelines \\ []) View Source
new(name(), subscriber(), opts(), pipelines()) :: t()

Creates a new SubscribeRoute struct

Link to this function put_pipelines(route, pipelines) View Source
put_pipelines(t(), pipelines()) :: t()

Updates the pipeline property