Behaviours: supervisor3.
find_producer/3 | Find a brod_producer process pid running under ?PARTITIONS_SUP. |
init/1 | supervisor3 callback. |
post_init/1 | |
start_link/0 | Start a root producers supervisor. |
start_producer/4 | Dynamically start a per-topic supervisor. |
stop_producer/2 | Dynamically stop a per-topic supervisor. |
find_producer(SupPid::pid(), Topic::brod:topic(), Partition::brod:partition()) -> {ok, pid()} | {error, Reason}
Find a brod_producer process pid running under ?PARTITIONS_SUP.
init(X1) -> any()
supervisor3 callback.
post_init(X1) -> any()
start_link() -> {ok, pid()}
Start a root producers supervisor. For more details: @see brod_producer:start_link/4
start_producer(SupPid::pid(), ClientPid::pid(), TopicName::brod:topic(), Config::brod:producer_config()) -> {ok, pid()} | {error, any()}
Dynamically start a per-topic supervisor
stop_producer(SupPid::pid(), TopicName::brod:topic()) -> ok | {}
Dynamically stop a per-topic supervisor
Generated by EDoc