ess-dmsc/kafkacow

--go option bug or documentation issue

Closed this issue · 3 comments

I just tested the -g option and got a confusing warning/error

./bin/kafkacow -C -b localhost:9092 -t FREIA_detector -d 2020-04-28T00:00:00.0 -g 6:8
--go: Value 6:8 not in range 0 to 9223372036854775807

Clearly 6 and 8 are both in the range 0 to (very big number)

I guess the documentation is not clear.
-g should be a single integer: the number of messages you want from the given offset or datetime

Hah, ok I misunderstood that one.

Not important