This bakes (creates) a new process instance of the recipe.
This bakes (creates) a new process instance of the recipe.
The process identifier
This bakes (creates) a new process instance of the recipe.
This bakes (creates) a new process instance of the recipe.
The process identifier
Returns the compiled recipe.
Returns the compiled recipe.
The compiled recipe
Returns all events that have occurred for a given process.
Returns all events that have occurred for a given process.
Note that this list is eventually consistent. This means that it might take some time before an event that occurred in the process is appended to the list.
The process identifier
Returns all events that have occurred for a given process.
Returns all events that have occurred for a given process.
Note that this list is eventually consistent. This means that it might take some time before an event that occurred in the process is appended to the list.
The process identifier
Returns all events that have occurred for a given process.
Returns all events that have occurred for a given process.
Note that this list is eventually consistent. This means that it might take some time before an event that occurred in the process is appended to the list.
The process identifier
The maximum wait time
Returns all events that have occurred for a given process.
Returns all events that have occurred for a given process.
Note that this list is eventually consistent. This means that it might take some time before an event that occurred in the process is appended to the list.
The process identifier
The maximum wait time
Returns all the ingredients that are accumulated for a given process.
Returns all the ingredients that are accumulated for a given process.
The process identifier
Returns all the ingredients that are accumulated for a given process.
Returns all the ingredients that are accumulated for a given process.
The process identifier
Returns all the ingredients that are accumulated for a given process.
Returns all the ingredients that are accumulated for a given process.
The process identifier
the maximum wait time
Returns all the ingredients that are accumulated for a given process.
Returns all the ingredients that are accumulated for a given process.
The process identifier
the maximum wait time
Returns the visual state of the recipe in dot format with a default timeout of 20 seconds
Returns the visual state of the recipe in dot format with a default timeout of 20 seconds
The process identifier
Returns the visual state of the recipe in dot format with a default timeout of 20 seconds
Returns the visual state of the recipe in dot format with a default timeout of 20 seconds
The process identifier
Returns the visual state of the recipe in dot format
Returns the visual state of the recipe in dot format
The process identifier
The maximum time to wait
Returns the visual state of the recipe in dot format
Returns the visual state of the recipe in dot format
The process identifier
The maximum time to wait
This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker
This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker
The process identifier
The event to fire
This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker
This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker
The process identifier
The event to fire
This fires the given event in the recipe for the process with the given processId This returns a BakerResponse.
This fires the given event in the recipe for the process with the given processId This returns a BakerResponse.
The process identifier
The event to fire
This fires the given event in the recipe for the process with the given processId This returns a BakerResponse.
This fires the given event in the recipe for the process with the given processId This returns a BakerResponse.
The process identifier
The event to fire
Registers a listener to all runtime events for this baker instance.
Registers a listener to all runtime events for this baker instance.
Note that:
- The delivery guarantee is *AT MOST ONCE*. Practically this means you can miss events when the application terminates (unexpected or not). - The delivery is local (JVM) only, you will NOT receive events from other nodes when running in cluster mode.
Because of these constraints you should not use an event listener for critical functionality. Valid use cases might be:
- logging - metrics - unit tests - ...
The listener to subscribe to events.
Attempts to gracefully shutdown the baker system.
Attempts to gracefully shutdown the baker system.
Attempts to gracefully shutdown the baker system.
The time to wait for the shard handover.