Method | Description | |
---|---|---|
__construct ( $hostList ) | ||
getPartitionState ( string $topicName, integer $partitionId ) : null | ||
getTopicDetail ( string $topicName ) : array | ||
listBrokers ( ) : array | get broker list from kafka metadata | |
refreshMetadata ( ) : null | Clear internal caches | |
setClient ( |
Method | Description | |
---|---|---|
loadBrokers ( ) | {{{ private function loadBrokers() | |
loadTopicDetail ( array $topics ) |
public getTopicDetail ( string $topicName ) : array | ||
$topicName | string | |
return | array |
public listBrokers ( ) : array | ||
return | array |