Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pausePartitions(), resumePartitions() on RdKfaka\Kafka, RdKafka\KafkaConsumer #438

Merged
merged 1 commit into from
Jan 14, 2021

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