/** * __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(); }
/** * __construct * * @param Partition $partition * @param array $context * * @access public */ public function __construct(Partition $partition, $context = array()) { $this->stream = $partition->getStream(); $this->partition = $partition; $this->context = $context; $this->messageSetSize = $this->getMessageSetSize(); Log::log("messageSetSize: {$this->messageSetSize}", LOG_INFO); }