RE: Using OffsetRequest to get the Head and Tail of a partition in a single request.

2014-11-18 Thread Thunder Stumpges
org [users@kafka.apache.org] Subject: Re: Using OffsetRequest to get the Head and Tail of a partition in a single request. It is not possible, due to how the results for the offset request are stored within the broker and API (as a map). You will have to do 2 requests to get both offsets. -Todd > On

Re: Using OffsetRequest to get the Head and Tail of a partition in a single request.

2014-11-18 Thread Todd Palino
It is not possible, due to how the results for the offset request are stored within the broker and API (as a map). You will have to do 2 requests to get both offsets. -Todd > On Nov 18, 2014, at 8:52 PM, Thunder Stumpges wrote: > > Hey all, > > We are working on a .net client, and I have a

Using OffsetRequest to get the Head and Tail of a partition in a single request.

2014-11-18 Thread Thunder Stumpges
Hey all, We are working on a .net client, and I have a question about the OffsetRequest api (https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-OffsetAPI) It seems to indicate that you would always get the "log end offset" (tail offset) reg