메소드 | 설명 | |
---|---|---|
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 |