From f375eec0a04cdc8ccb6d92b3104d3ae0a9b4d8dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 18 Aug 2021 11:23:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Kafka/KafkaClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kafka/KafkaClient.php b/Kafka/KafkaClient.php index 1c11e133..1d6e7ae2 100644 --- a/Kafka/KafkaClient.php +++ b/Kafka/KafkaClient.php @@ -64,7 +64,7 @@ class KafkaClient * @param bool $isAck * @throws Exception */ - public function dispatch(string $key, string|array $params, bool $isAck = false) + public function push(string $key, string|array $params, bool $isAck = false) { $this->sendMessage([$params], $key, $isAck); }