edgectl relay deadletter purge

Remove deadletter entries from the ledger

Synopsis

Permanently removes deadletter entries and their attempt history
from the relay ledger.

Specify a single entry with --segment-id and --peer-id, or remove
entries older than a duration with --older-than.

This is a destructive operation. Use --force to skip confirmation.
Without --force, a dry-run count is shown.

Usage

edgectl relay deadletter purge [flags]

Options

      --force               execute purge (without this flag, shows dry-run count)
      --older-than int      purge entries older than N seconds
      --peer-id string      purge specific peer ID
      --segment-id string   purge specific segment ID

Options inherited from parent commands

      --socket string   path to the edged control socket (default "/run/edged/ctl.sock")

See also