Implement replay CLI with the following approximate flags:
./eventnative replay --state <file> --host <jitsu host> --api-key API_KEY <file> --start <date> --end <date> <files>
-
state — a path to file where event native will save the state (files already uploaded)
-
start - start date as YYYY-MM-DD. Treated as the beginning of the day UTC (YYYY-MM-DD 00:00:00.000Z). Optional. If missing, all files will be processed
-
end - end date as YYYY-MM-DD. Treated as the end of the day UTC (YYYY-MM-DD 23:59:59.999Z). Optional. If missing, all will be processed
-
host - Jitsu host. If not set, http://localhost:8000 will be used
-
api_key - required. Jitsu API key servers secret.
-
chunk_size - max data chunk size in bytes (default 20 MB). If file size is greater then the file will be split into N chunks with chunk size and sent to Jitsu
-
files - list of files to process. All directories in the list will be read recursively
Implement replay CLI with the following approximate flags:
./eventnative replay --state <file> --host <jitsu host> --api-key API_KEY <file> --start <date> --end <date> <files>state — a path to file where event native will save the state (files already uploaded)
start - start date as YYYY-MM-DD. Treated as the beginning of the day UTC (YYYY-MM-DD 00:00:00.000Z). Optional. If missing, all files will be processed
end - end date as YYYY-MM-DD. Treated as the end of the day UTC (YYYY-MM-DD 23:59:59.999Z). Optional. If missing, all will be processed
host - Jitsu host. If not set, http://localhost:8000 will be used
api_key - required. Jitsu API key servers secret.
chunk_size - max data chunk size in bytes (default 20 MB). If file size is greater then the file will be split into N chunks with chunk size and sent to Jitsu
files - list of files to process. All directories in the list will be read recursively