Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request paragon debug kafka

Syntax

Description

Generate an output file of the Kafka messages for a topic, and for a specified period of time.

Options

options "query"

Add a Kafka query.

Format: -C -t topic-name -o s@start-time -o e@end-time -e

For example, to query a topic name from a particular start time, use -C -t netconf-resp-dev -o s@1713321079000 -e

output-file "file-name"

Name of the file where Kafka messages are stored.

time period duration

Duration for which kafkacat needs to run.

Format: Specify integer followed by s/m/h/d/w/y (seconds/minutes/hours/days/weeks/years). For example, 2s.

Required Privilege Level

view

Output Fields

When you enter this command, an output file of the Kafka messages is created for the specified period of time.

Sample Output

request paragon debug kafka options "-C -t pf-cfg-topology -o s@1701705745000 -o e@1702569745000 -e -JB" output-file "file"

request paragon debug kafka options "-C -t netconf-resp-dev -o s@1713321079000 -e" output-file test-netconf-resp-dev time-period 60s

Release Information

Command introduced in Paragon Automation Release 2.0.0.