Get the time of the first element.
Create keyspaces and tables if needed.
Poll the database until all nodes sent their first element date.
Poll the database until all nodes sent their first element date.
timeout value in seconds to wait for first element time
Find a consensus about the start time of a job. Start time is the time of the first consumed element. This can be an attribute of the element. It is assumed that all elements, consumed by one instance are ordered in an increasing order. (The first element is the oldest element) Also other ordinal attributes can be use.