package kafka
-
kafka.helpers
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A sink is defined as a function used to open an output stream. This function returns a pair of functions (push,close) aimed to push data into the stream and to finally close the stream.
val retry_on_error : 'a push_error_handler
val raise_on_error : 'a push_error_handler
val partition_sink :
?producer_props:(string * string) list ->
?topic_props:(string * string) list ->
?delivery_error_handler:string push_error_handler ->
string ->
Kafka.partition ->
(string, unit) sink
val topic_sink :
?producer_props:(string * string) list ->
?topic_props:(string * string) list ->
?delivery_error_handler:(Kafka.partition * string) push_error_handler ->
string ->
(Kafka.partition * string, unit) sink