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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
dump
(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()
boolean
run
(LogManager manager, org.apache.commons.cli.CommandLine cmd) void
updateOptions
(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:
updateOptions
in classCommand
-
run
public boolean run(LogManager manager, org.apache.commons.cli.CommandLine cmd) throws InterruptedException - Specified by:
run
in 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
-