Behaviours: gen_server.
arg_name() = source | kv_deli | msg_deli | prompt | tail | no_exit | blk_size | retry_delay
arg_value() = term()
start_link/1 | Args explained: source: 'standard_io' | {file, "path/to/srouce"} kv_deli: 'none' | binary(). |
stop/1 | Stop gen_server. |
start_link(Args::[{arg_name(), arg_value()}]) -> {ok, pid()}
Args explained: source: 'standard_io' | {file, "path/to/srouce"} kv_deli: 'none' | binary(). Delimiter bytes for message key and value msg_deli: binary(). Delimiter between kafka messages NOTE: eof is always considered a message delimiter prompt: boolean(). Applicable when source is standard_io AND when kv_deli and msg_deli are both '\n' prompts 'key> ' for key input and 'val> ' for value input tail: boolean(). Applicable when source is a file tell brod-cli to start reading from EOF no_exit: boolean(). Do not exit when reaching EOF blk_size: Read block size
stop(Pid) -> any()
Stop gen_server.
Generated by EDoc