메소드 |
설명 |
|
__construct ( kafka\ClusterMetaData $metadata ) |
__construct |
|
freeStream ( string $key ) : void |
free stream pool |
|
getBrokers ( ) : array |
get broker server |
|
getHostByPartition ( string $topicName, integer $partitionId ) : string |
get broker host by topic partition |
|
getStream ( string $host, null $lockKey = null ) : array |
get broker broker connect |
|
getStreamOption ( $name ) : mixed |
|
|
getTopicDetail ( string $topicName ) : array |
get topic detail info |
|
getZooKeeper ( ) : ZooKeeper |
get kafka zookeeper object |
|
setStreamOption ( $name, $value ) |
|
|
setStreamOptions ( array $options = [] ) |
update stream options |
|