K2K Standalone Tool
Describes the high level usage of the K2K Standalone Tool
The K2K Tool (k2k-tool) is an administration tool for managing K2K committed offsets.
It provides a CLI and a web interface for managing K2K committed offsets.
The K2K is bundled in the same container as K2K, so it is available in any K2K deployment.
Warning: Setting offsets should only be used when the K2K application has been stopped.
If the K2K application is running, the offset reset might not be applied as the application will continue to commit offsets, potentially overwriting the reset operation.
Pipeline Definition Files
The YAML definition used by k2k-tool is a subset of the full K2K YAML configuration format.
This means the same configuration file used for running K2K can be used with k2k-tool.
The tool will only read the fields it needs and ignore the rest.
You can mount the same file used by K2K and expect it to work without modification.
The following configuration objects are required in the YAML configuration for k2k-tool to function:
namesource.kafkatarget.kafkareplication
K2K CLI Commands
server
Start the K2K-Tool web app. Starts an HTTP server that provides a web interface and API endpoints for managing K2K pipelines.
describe
Describes the current state of the consumer group(s) present in the K2K pipeline definition file(s).
set
Sets the committed offset(s) for a consumer group to a specific value.
reset
Sets all committed offsets for a consumer group to the earliest value.
Examples:
Last updated
Was this helpful?

