/**
* __construct
*
* @param \Kafka\Socket $stream
* @param int $initOffset
* @access public
* @return void
*/
public function __construct(\Kafka\Protocol\Fetch\Partition $partition, $context = array())
{
$this->stream = $partition->getStream();
$this->partition = $partition;
$this->context = $context;
$this->messageSetSize = $this->getMessageSetSize();
}