Kafka consumer that read data (multiply topics could be specified to )from kafka and write them to disk split by topic, date
Configuration
Flags usage
-clientid
Kafka consumer group clientID (default kafka-dumper)
-consumergroup
Kafka Consumer group Name (default kafka-dumper)
-init
When true - creates initial config at usr.HomeDir/.tolling/testing-kafka-dump (default false)
-kafkabrokers
Kafka brokers address (default [])
-kafkaversionstring
Kafka version (default 0.10.2.0)
-locallog
When true will write log to stdout and to file kafka-dump.log at OutputDir (default false)
-log
Log level that will be displayed (DEBUG, INFO, ERROR, WARN, FATAL" (default Info)
-newest
when set true - will sturt dump all messages that appears in kafka after start of tool (default false)
-outputdir
Location of directory where kafka dump will be stored locally (default OUTPUT_DATA)
-overwrite
When select as true - all previous dump in specified OutputDir will be overwritten. All kafka messages would be read again (default false)
-timezone
Timezone that will be used for timestamps in messages (default GMT)
-topics
List of all topics with specified message type which will be dumped (default [])