From 348e9e454fbff118483c3b83aec36a5ba4a6356c Mon Sep 17 00:00:00 2001 From: Roman Samarsky Date: Thu, 18 Oct 2018 17:58:09 +0300 Subject: [PATCH] fixes https://github.com/php-enqueue/enqueue-dev/issues/557 --- pkg/enqueue/Client/Driver/RdKafkaDriver.php | 13 ++----------- pkg/enqueue/Client/Driver/RedisDriver.php | 2 ++ .../Tests/Client/Driver/RdKafkaDriverTest.php | 5 ----- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/pkg/enqueue/Client/Driver/RdKafkaDriver.php b/pkg/enqueue/Client/Driver/RdKafkaDriver.php index ecb711c97..37013bbe5 100644 --- a/pkg/enqueue/Client/Driver/RdKafkaDriver.php +++ b/pkg/enqueue/Client/Driver/RdKafkaDriver.php @@ -1,10 +1,11 @@ getContext()->createConsumer($queue); } } - - /** - * @return RdKafkaTopic - */ - protected function createRouterTopic(): Destination - { - return $this->doCreateTopic( - $this->createTransportRouterTopicName($this->getConfig()->getRouterTopic(), true) - ); - } } diff --git a/pkg/enqueue/Client/Driver/RedisDriver.php b/pkg/enqueue/Client/Driver/RedisDriver.php index 641d3bff3..493cb7c96 100644 --- a/pkg/enqueue/Client/Driver/RedisDriver.php +++ b/pkg/enqueue/Client/Driver/RedisDriver.php @@ -1,5 +1,7 @@