Метод | Описание | |
---|---|---|
commitOffsetRequest ( array $payloads ) : string | build consumer commit offset request | |
encodeArray ( array $array, Callable $func, null $options = null ) : string | encode key array | |
encodeMessageSet ( array $messages, integer $compression = self::COMPRESSION_NONE ) : string | encode message set N.B., MessageSets are not preceded by an int32 like other array elements in the protocol. | |
encodeString ( string $string, integer $bytes, integer $compression = self::COMPRESSION_NONE ) : string | encode pack string type | |
fetchOffsetRequest ( array $payloads ) : string | build consumer fetch offset request | |
fetchRequest ( array $payloads ) : string | build fetch request | |
metadataRequest ( array $topics ) : string | build metadata request protocol | |
offsetRequest ( array $payloads ) : string | build offset request | |
produceRequest ( array $payloads, integer $compression = self::COMPRESSION_NONE ) : integer | produce request | |
requestHeader ( string $clientId, integer $correlationId, integer $apiKey ) : string | get request header |
Метод | Описание | |
---|---|---|
_encodeCommitOffset ( $values ) : string | encode signal topic | |
_encodeCommitOffsetPartion ( $values ) : string | encode signal part | |
_encodeFetchOffset ( $values ) : string | encode signal topic | |
_encodeFetchOffsetPartion ( $values ) : string | encode signal part | |
_encodeFetchPartion ( $values ) : string | encode signal part | |
_encodeFetchTopic ( $values ) : string | encode signal topic | |
_encodeMessage ( string $message, integer $compression = self::COMPRESSION_NONE ) : string | encode signal message | |
_encodeOffsetPartion ( $values ) : string | encode signal part | |
_encodeOffsetTopic ( $values ) : string | encode signal topic | |
_encodeProcudePartion ( $values, $compression ) : string | encode signal part | |
_encodeProcudeTopic ( $values, $compression ) : string | encode signal topic |
protected static _encodeCommitOffset ( $values ) : string | ||
Результат | string |
protected static _encodeCommitOffsetPartion ( $values ) : string | ||
Результат | string |
protected static _encodeFetchOffset ( $values ) : string | ||
Результат | string |
protected static _encodeFetchOffsetPartion ( $values ) : string | ||
Результат | string |
protected static _encodeFetchPartion ( $values ) : string | ||
Результат | string |
protected static _encodeFetchTopic ( $values ) : string | ||
Результат | string |
protected static _encodeOffsetPartion ( $values ) : string | ||
Результат | string |
protected static _encodeOffsetTopic ( $values ) : string | ||
Результат | string |
protected static _encodeProcudePartion ( $values, $compression ) : string | ||
$values | ||
$compression | ||
Результат | string |
protected static _encodeProcudeTopic ( $values, $compression ) : string | ||
$values | ||
$compression | ||
Результат | string |
public commitOffsetRequest ( array $payloads ) : string | ||
$payloads | array | |
Результат | string |
public fetchOffsetRequest ( array $payloads ) : string | ||
$payloads | array | |
Результат | string |
public fetchRequest ( array $payloads ) : string | ||
$payloads | array | |
Результат | string |
public metadataRequest ( array $topics ) : string | ||
$topics | array | |
Результат | string |
public offsetRequest ( array $payloads ) : string | ||
$payloads | array | |
Результат | string |