Also adds the CSV headers feature for CSV files without a header row.
In line with https://github.com/axiomhq/axiom-go/pull/305, I also addressed the batching behaviour here and made it less aggressive in time (flush batch every 5s instead of every 1s) but also introduced batch size based flushing (every 10k), whatever condition is met first. Also files are now batched instead of only stdin data.
CSV should be batchable as well!
Also adds the CSV headers feature for CSV files without a header row.
In line with https://github.com/axiomhq/axiom-go/pull/305, I also addressed the batching behaviour here and made it less aggressive in time (flush batch every 5s instead of every 1s) but also introduced batch size based flushing (every 10k), whatever condition is met first. Also files are now batched instead of only
stdin
data.