fixed return type RdKafka\ConsumerTopic::consume()
rd-kafka library implements RdKafka\ConsumerTopic::consume() method as do consume till Kafka service return value is not empty. Need to update return type.
This commit is contained in:
parent
59d0a0c894
commit
878dd7f909
|
@ -10,7 +10,7 @@ class ConsumerTopic extends Topic
|
|||
* @param int $partition
|
||||
* @param int $timeout_ms
|
||||
*
|
||||
* @return Message
|
||||
* @return Message|null
|
||||
*/
|
||||
public function consume($partition, $timeout_ms) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue