From 5792ac3e22247e9e3b27fa48d8dc27370c9c5aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 19 Aug 2021 15:41: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/Kafka.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Kafka/Kafka.php b/Kafka/Kafka.php index 080fd957..32323a34 100644 --- a/Kafka/Kafka.php +++ b/Kafka/Kafka.php @@ -10,23 +10,21 @@ use RdKafka\ConsumerTopic; use RdKafka\Exception; use RdKafka\KafkaConsumer; use RdKafka\TopicConf; -use Server\SInterface\CustomProcess; use Kiri\Abstracts\Config; use Kiri\Exception\ConfigException; use Kiri\Kiri; use Swoole\Coroutine\Channel; use Swoole\Process; use Throwable; +use Server\Abstracts\CustomProcess; /** * Class Queue * @package Queue */ -class Kafka implements CustomProcess +class Kafka extends CustomProcess { - protected Channel $channel; - /** * @param array $kafkaConfig