改名
This commit is contained in:
@@ -106,7 +106,6 @@ class Producer extends Component
|
||||
$topic = $rk->newTopic($this->_topic, $this->topicConf);
|
||||
$topic->produce(RD_KAFKA_PARTITION_UA, 0, $message, $key);
|
||||
$rk->poll($timeout);
|
||||
$rk->flush($timeout);
|
||||
|
||||
$event = Snowflake::app()->getEvent();
|
||||
$event->on(Event::EVENT_AFTER_REQUEST, [$this,'onFlush'], [$rk, $timeout]);
|
||||
|
||||
Reference in New Issue
Block a user