The Connection service is used to declare the class
and connection options but does not connect quite yet. Connection
happens at a later lifecycle stage when a workflow
is started by the MeshFlow Client module ((new MeshFlow.Client())).start()).
The config options optionall support a multi-connection setup
where the store connection explicitly defined along with stream, sub, etc.
For example, Postgres can be used for stream and store while
Redis is used for sub.
The Connection service is used to declare the class and connection options but does not connect quite yet. Connection happens at a later lifecycle stage when a workflow is started by the MeshFlow Client module (
(new MeshFlow.Client())).start()
).The config options optionall support a multi-connection setup where the
store
connection explicitly defined along withstream
,sub
, etc. For example, Postgres can be used for stream and store while Redis is used for sub.