Skip to content

Conversation

arnaud-lb
Copy link
Owner

@arnaud-lb arnaud-lb commented Jan 14, 2021

Adds two methods on the RdKafka\Kafka, RdKafka\Consumer, RdKafka\Producer, RdKafka\KafkaConsumer classes, with the following signatures:

function pausePartitions(RdKafka\TopicPartition[] $partitions): RdKafka\TopicPartition[];
function resumePartitions(RdKafka\TopicPartition[] $partitions): RdKafka\TopicPartition[];

Per-partition errors are reported in TopicPartition::getErr() (this PR also adds this method).

@arnaud-lb arnaud-lb force-pushed the pause-resume branch 2 times, most recently from cc19414 to 38af50c Compare January 14, 2021 16:46
@arnaud-lb
Copy link
Owner Author

arnaud-lb commented Jan 14, 2021

Related: #429

@arnaud-lb arnaud-lb merged commit 7ca71fe into 5.x Jan 14, 2021
@arnaud-lb arnaud-lb deleted the pause-resume branch January 14, 2021 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant