hyperf / kafka

[READ ONLY] Kafka client for Hyperf
MIT License
6 stars 3 forks source link

消费者如何订阅多个topic #4

Closed wxbacy closed 3 years ago

wxbacy commented 3 years ago

<?php

declare(strict_types=1);

namespace App\Kafka\Consumer;

use Hyperf\Kafka\AbstractConsumer; use Hyperf\Kafka\Annotation\Consumer; use longlang\phpkafka\Consumer\ConsumeMessage;

/**