RdKafka\KafkaConsumer::close

(PECL rdkafka >= 4.0.0, librdkafka >= 0.9.1)

RdKafka\KafkaConsumer::closeClose down the KafkaConsumer

Description

public RdKafka\KafkaConsumer::close ( void ) : void

Close down the KafkaConsumer. This call will block until the consumer has revoked its assignment, calling the rebalance_cb if it is configured, committed offsets to broker, and left the consumer group. The maximum blocking time is roughly limited to session.timeout.ms.