Class DumpCommand
java.lang.Object
org.nuxeo.lib.stream.tools.command.Command
org.nuxeo.lib.stream.tools.command.DumpCommand
Dump records from a Log into an Avro file.
- Since:
- 10.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddump(LogManager manager, Name name, int partition, Name group, int limit, String codec, Path output) getTailer(LogManager manager, Name name, int partition, Name group, String codec) name()booleanrun(LogManager manager, org.apache.commons.cli.CommandLine cmd) voidupdateOptions(org.apache.commons.cli.Options options) Methods inherited from class org.nuxeo.lib.stream.tools.command.Command
getRecordCodec, getRecordRenderer
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
DumpCommand
public DumpCommand()
-
-
Method Details
-
name
-
updateOptions
public void updateOptions(org.apache.commons.cli.Options options) - Specified by:
updateOptionsin classCommand
-
run
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException - Specified by:
runin classCommand- Throws:
InterruptedException
-
dump
protected void dump(LogManager manager, Name name, int partition, Name group, int limit, String codec, Path output) throws InterruptedException - Throws:
InterruptedException
-
getTailer
-