dsully/pykafka — pull request #20 by icepol (2013-06-21 11:28:29+00:00)
Title: Method for last offset getting added.

I added method which return offset of the last message.
You can use value returned by this method for starting new customer with offset parameter.

>> import kafka
>> p = kafka.consumer.Consumer('test')
>> p.get_last_offset()
675

>> p = kafka.consumer.Consumer('test', offset=675)
>> p.consume()
[]