PHP Interface Kafka\ClusterMetaData

Author: [email protected] +------------------------------------------------------------------------------
Afficher le fichier Open project: nmred/kafka-php Interface Usage Examples

Méthodes publiques

Méthode Description
getPartitionState ( string $topicName, integer $partitionId ) : array
getTopicDetail ( string $topicName ) : array
listBrokers ( ) : array get broker list from kafka metadata
refreshMetadata ( ) : null

Method Details

getPartitionState() public méthode

public getPartitionState ( string $topicName, integer $partitionId ) : array
$topicName string
$partitionId integer
Résultat array

getTopicDetail() public méthode

public getTopicDetail ( string $topicName ) : array
$topicName string
Résultat array

listBrokers() public méthode

get broker list from kafka metadata
public listBrokers ( ) : array
Résultat array

refreshMetadata() public méthode

public refreshMetadata ( ) : null
Résultat null