gpkafka check

A newer version of this documentation is available. Click here to view the most up-to-date release of the Greenplum 5.x documentation.

gpkafka check

Check the progress of a load operation from Kafka to Greenplum Database.

Synopsis

gpkafka check [--show-commit-history all | latest] config.yaml 

gpkafka check --help

Description

The gpkafka check utility displays the commit history of the Kafka to Greenplum Database load operation defined in config.yaml.

You can request the complete commit history or the history for the last batch of data written to Greenplum Database. gpkafka check displays the commit history of the latest data load operation by default.

Options

config.yaml
The YAML-formatted configuration file that defines the load operation parameters. If the filename provided is not an absolute path, Greenplum Database assumes the file system location is relative to the current working directory.
--show-commit-history [ all | latest ]
Specify all to display the complete commit history of the data load operation defined in config.yaml. latest, the default, prints the commit history of the last batch of Kafka data written to Greenplum Database.
--help
Show command help, and then exit.

Examples

Display the complete commit history of the data load operation defined in the gpkafka load configuration file named loadcfg.yaml:

gpkafka check --show-commit-history all loadcfg.yaml