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

Return to the regular view of this page.

Projections

Commands related to management of Projections
dolittle runtime projections [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 Projections currently registered by Clients to the Runtime
dolittle runtime projections list [options]

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.

2 - Get

Gets details of a specific Projection currently registered by Clients to the Runtime
dolittle runtime projection get <identifier> <scope> [options]

Arguments

Argument Description
<identifier> The identifier or alias of the Projection to get details for
<scope> The scope of the Projection to get details for. Only required when the identifier or alias matches multiple projections

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 a replay of a Projection currently registered by Clients to the Runtime

Initiates a replay of all events to rebuild Projection read models. This command drops all persisted read models, and potential copies in MongoDB, and restarts the Projection to build new ones.

dolittle runtime projection replay <identifier> <scope> [options]

Arguments

Argument Description
<identifier> The identifier or alias of the Projection to replay
<scope> The scope of the Projection to replay. Only required when the identifier or alias matches multiple projections

Options

Option Description
--tenant <id> Only replay the Projection for the specified Tenant. If not provided, replays for all Tenants
--runtime host[:port] The address to the management endpoint of a Runtime. See details.
--help Show help information.