public class TopicPartitionConfigMapGenerator
extends Object
This tool is for generating TopicPartition List for restoring.
Logic of generating restore topic partition list config:
1. Not internal topics
2. effect fromTimestamp = max(input fromTimestamp, retention.ms of the topic)
SAMPLE USAGE:
$> bin/kafka-run-class.sh \
kafka.restore.configmap.TopicPartitionConfigMapGenerator \
--bootstrap-server \
--output-file \
--from-timestamp \
--revert-compaction-since-timestamp \
--topics
timestamp is unix epoch in millisecond
or
$> bin/kafka-run-class.sh kafka.restore.configmap.TopicPartitionConfigMapGenerator