Re: What does GetOffsetShell result represent

2016-12-17 Thread Sachin Mittal
Hi, Thanks for the lucid explanation. So say if I run this bin/kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list 192.168.73.198:9092 --topic test-stream --time -1 --offsets 6 I get output like: test-stream:0:81658712,81616045,81299569,80987584,80673168,80364832 This means these are the

Re: What does GetOffsetShell result represent

2016-12-17 Thread Ewen Cheslack-Postava
The tool writes output in the format: :: So in the case of your example with --time -1 that returned test-window-stream:0:724, it is saying that test-window-stream has partition 0 with a valid log segment which has the first offset = 724. Note that --time -1 is a special code for "only give the l

Re: What does GetOffsetShell result represent

2016-12-15 Thread Sachin Mittal
Folks any explanation for this. Or any link that can help me on that. On Tue, Dec 13, 2016 at 1:00 PM, Sachin Mittal wrote: > Hi, > I have some trouble interpreting the result of GetOffsetShell command. > > Say if I run > bin\windows\kafka-run-class.bat kafka.tools.GetOffsetShell --broker-list >

What does GetOffsetShell result represent

2016-12-12 Thread Sachin Mittal
Hi, I have some trouble interpreting the result of GetOffsetShell command. Say if I run bin\windows\kafka-run-class.bat kafka.tools.GetOffsetShell --broker-list localhost:9092 --topic test-window-stream --time -2 test-window-stream:0:0 D:\kafka_2.10-0.10.2.0-SNAPSHOT>bin\windows\kafka-run-class.b