Dispatch Module
Dispatch functions for spouts and bolts
Functions and values
| Function or value |
Description
|
Full Usage:
autoAckBolt mkArgs consume (getAnchors, act, deact) getStream conf out
Parameters:
(LogLevel -> string -> unit) -> 'a -> 'b -> ('c -> unit) -> 'd
consume : 'd -> unit
getAnchors : string * string -> TupleId -> TupleId list
act : 'b option
deact : 'b option
getStream : 'c -> string
conf : 'a
out : OutCommand<'c> -> unit
Returns: InCommand<'b> -> unit
Type parameters: 'a, 'b, 'c, 'd |
Dispatch bolt commands and auto ack/nack handled messages
|
Full Usage:
autoNackBolt mkArgs consume conf out
Parameters:
(LogLevel -> string -> unit) -> 'a -> 'b -> 'c
consume : 'c -> unit
conf : 'a
out : OutCommand<'d> -> unit
Returns: InCommand<'b> -> unit
Type parameters: 'a, 'b, 'c, 'd |
Dispatch bolt commands and auto-nack all incoming messages
|
Full Usage:
reliableSpout mkArgs mkAcker deactivate next getStream conf out
Parameters:
(LogLevel -> string -> unit) -> 'a -> 'b
mkAcker : 'b -> (TupleId -> unit) * (TupleId -> unit)
deactivate : 'b -> unit
next : 'b -> (TupleId * 'c) option
getStream : 'c -> string
conf : 'a
out : OutCommand<'c> -> unit
Returns: InCommand<'d> -> unit
Type parameters: 'a, 'b, 'c, 'd |
Dispatch spout commands and handle acknowledgements
|
Full Usage:
unreliableSpout mkArgs deactivate next getStream conf out
Parameters:
(LogLevel -> string -> unit) -> 'a -> 'b
deactivate : 'b -> unit
next : 'b -> 'c option
getStream : 'c -> string
conf : 'a
out : OutCommand<'c> -> unit
Returns: InCommand<'d> -> unit
Type parameters: 'a, 'b, 'c, 'd |
Dispatch commands for spouts that don't provide unique ids to emitted tuples
|
FsShelter