This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Event Handlers

Commands related to management of Event Handlers
dolittle runtime eventhandlers [subcommand]

Options

Option Description
--runtime host[:port] The address to the management endpoint of a Runtime. See details.
--output table|json Select the format the output of the subcommand. Defaults to table.
--wide If set, prints more details in table format for a wider output.
--help Show help information.

Subcommands

1 - List

Lists all the Event Handlers currently registered by Clients to the Runtime
dolittle runtime eventhandlers list [options]

Options

Option Description
--tenant <id> Only show Event Handler information for the specified Tenant.
--runtime host[:port] The address to the management endpoint of a Runtime. See details.
--output table|json Select the format the output of the subcommand. Defaults to table.
--wide If set, prints more details in table format for a wider output.
--help Show help information.

2 - Get

Gets details of a specific Event Handler currently registered by Clients to the Runtime
dolittle runtime eventhandlers get <identifier> [options]

Arguments

Argument Description
<identifier> The identifier of the Event Handler to get details for. Format: id/alias[:scope]

Options

Option Description
--tenant <id> Only show Stream Processor status for the specified Tenant.
--runtime host[:port] The address to the management endpoint of a Runtime. See details.
--output table|json Select the format the output of the subcommand. Defaults to table.
--wide If set, prints more details in table format for a wider output.
--help Show help information.

3 - Replay

Initiates reprocessing of events for a specific Event Handler currently registered by Clients to the Runtime

Replay all events

Initiates reprocessing of all events (from position 0 in the Event Handler Stream) for all Tenants. If you want to only reprocess all events for a specific Tenant, use the replay from 0 command.

dolittle runtime eventhandlers replay all <identifier> [options]

Arguments

Argument Description
<identifier> The identifier of the Event Handler to replay. Format: id/alias[:scope]

Options

Option Description
--runtime host[:port] The address to the management endpoint of a Runtime. See details.
--help Show help information.

Replay events from a specific position in the Event Handler Stream

Initiates reprocessing of events from the specified position (in the Event Handler Stream) for a specific Tenant. This command will fail if the specified position is higher than the current position for the Event Handler, which would cause some events to be skipped.

dolittle runtime eventhandlers replay from <identifier> <position> [options]

Arguments

Argument Description
<identifier> The identifier of the Event Handler to replay. Format: id/alias[:scope]
<position> The position in the Event Handler stream to star reprocessing events from. Cannot be greater than the current position.

Options

Option Description
--tenant <id> The Tenant to replay events for. Defaults to the Development tenant.
--runtime host[:port] The address to the management endpoint of a Runtime. See details.
--help Show help information.