API reference¶
Nodes¶
-
class
fluteline.
Node
¶ A common interface for all fluteline nodes to start and stop them gracefully.
Call
start
andstop
to interact with the node. Overrideenter
to setup resources andexit
to clean after yourself.-
enter
()¶ Override to prepare resources.
-
exit
()¶ Override to cleanup after yourself.
-
start
()¶ Start the node.
-
stop
()¶ Stop the node gracefully.
-
-
class
fluteline.
Producer
¶ Inherit this class to create producers.
-
produce
()¶ Override to produce new messages.
-