Re: OffsetResponse: protocol size error

2013-07-15 Thread Vinicius Carvalho
Yes, my bad. I need to pay more attention to the [] structures. Sorry On Mon, Jul 15, 2013 at 12:57 PM, Colin Blower wrote: > It looks like you may be parsing the result incorrectly. I would have > expected your data structure to look like: > > If you are still having issues with this could you

Re: OffsetResponse: protocol size error

2013-07-15 Thread Colin Blower
It looks like you may be parsing the result incorrectly. I would have expected your data structure to look like: If you are still having issues with this could you post the raw response bytes? { "topics": [ { "partitionOffsets": [ { "par

OffsetResponse: protocol size error

2013-07-13 Thread Vinicius Carvalho
Hi there, when issuing offsetrequests with this payload: { "requestMessage": { "API_KEY": 2, "replicaId": 0, "topics": [ { "topicName": "myTopic", "partitions": [ { "partitionId": 0,