API reference¶
Nodes¶
-
class
fluteline.Node¶ A common interface for all fluteline nodes to start and stop them gracefully.
Call
startandstopto interact with the node. Overrideenterto setup resources andexitto 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.
-