Reset Adapter
You can reset an adapter in Flowcore using the Flowcore CLI, to run from a set moment in time.
Reset Adapter
To reset an adapter, you can use the flowcore reset adapter
command. This command will reset the specified adapter, to a specified moment in time.
You can think of it as a rewind button for your adapter, allowing you to rewind to a specific point in time, and replay all the events that have occurred since then.
If you wish to use the adapter id, you can read about how to obtain your adapter id here.
Flags
argument | abbreviation | required | description |
---|---|---|---|
--scenario | -s | Yes | The scenario the adapter resides in. You can obtain all your scenarios within a tenant here. |
--tenant | -t | Yes | Tenant. e.g my-tenant . Meaning, the name of your organization. Which you can find by visiting flowcore.io |
--bucket | -b | No | Time bucket (YYYYMMDDHHmmss or first). This correlates to Year (YYYY), Month (MM), Day (DD), Hour (HH), Minute (mm), Second (ss). |
--eventId | -e | No | Time UUID. This is the UUID of the event you wish to reset to. |
Examples
To reset an adapter with a specific tenant and scenario:
To reset an adapter using the first time bucket:
To reset an adapter using a specific event ID: