php-pubsub-kafka icon indicating copy to clipboard operation
php-pubsub-kafka copied to clipboard

Not calling flush can lead to message loss

Open Walker-P opened this issue 4 years ago • 0 comments

There is a bug,Not calling flush can lead to message loss.

public function publish($channel, $message) { $topic = $this->producer->newTopic($channel); $topic->produce(RD_KAFKA_PARTITION_UA, 0, Utils::serializeMessage($message)); }

Walker-P avatar Dec 28 '20 01:12 Walker-P