Behaviours: supervisor3.
find_consumer/3 | Find a brod_consumer process pid running under ?PARTITIONS_SUP. |
init/1 | supervisor3 callback. |
post_init/1 | |
start_consumer/4 | Dynamically start a per-topic supervisor. |
start_link/0 | Start a root consumers supervisor. |
stop_consumer/2 | Dynamically stop a per-topic supervisor. |
find_consumer(SupPid::pid(), Topic::brod:topic(), Partition::brod:partition()) -> {ok, pid()} | {error, Reason}
Find a brod_consumer process pid running under ?PARTITIONS_SUP
init(X1) -> any()
supervisor3 callback.
post_init(X1) -> any()
start_consumer(SupPid::pid(), ClientPid::pid(), TopicName::brod:topic(), Config::brod:consumer_config()) -> {ok, pid()} | {error, any()}
Dynamically start a per-topic supervisor.
start_link() -> {ok, pid()}
Start a root consumers supervisor.
stop_consumer(SupPid::pid(), TopicName::brod:topic()) -> ok | {error, any()}
Dynamically stop a per-topic supervisor.
Generated by EDoc