Login  |  Packages  |  Support  |  Bugs

Return

Changelog for rdkafka
Release What has changed?
4.0.1 BREAKING CHANGE: Since version 4.0, the client no longer polls for network
events at shutdown (during object destructor). This behaviour didn't give
enough control to the user in case of server issue, and could cause the script
to hang while terminating.

Starting from 4.0, programs MUST call flush() before shutting down, otherwise
some messages and callbacks may be lost.

## Features

* Added RdKafka\ConsumerTopic::consumeCallback() (#310, @nick-zh)

## Enhancements

* Run integration tests in CI (#223, @Steveb-p)
* Improved README (#295 #297 #298, #307 @Steveb-p @sndsgd @nick-zh)
* Fix windows test cases (#296, @cmb69)
* Add testsuite in pecl archive (#291, @remicollet)
* Add editor config (#308, @Steveb-p)

## Bugfixes

* Fix build (#290, @nick-zh)
* Fix segfault during module shutdown (#293, @arnaud-lb @nick-zh)
* Fix RdKafka\Topic visibility in PHP 7.4 (#316, @nick-zh)
* Fix headers memory management in producev (#318 , @nick-zh)
* Fix partition number in error (#321, @nick-zh)
3.1.3 * Fix segfault during module shutdown (#293, @arnaud-lb @nick-zh)
* Fix RdKafka\Topic visibility in PHP 7.4 (#316, @nick-zh)
4.0.0 BREAKING CHANGE: Since version 4.0, the client longer polls for network events
at shutdown (during object destructor). This behaviour didn't give enought
control to the user in case of server issue, and could cause the script to
hang while terminating.

Starting from this version, programs MUST now call flush() before shutting
down, otherwise some messages and callbacks may be lost.

## Features

* Added RdKafka\Kafka::offsetsForTimes(), RdKafka\KafkaConsumer::offsetsForTimes() (#238, #270, @nick-zh)
* Added RdKafka\KafkaConsumer::getOffsetPositions() (#244, @nick-zh)
* Added RdKafka\Kafka::purge() (#255, @nick-zh)
* Added RdKafka\Kafka::flush() (#264, @nick-zh)
* Added RdKafka\ConsumerTopic::consumeBatch() (#256, @nick-zh)
* Added RdKafka\Conf::setLogCb() (#253, @nick-zh)
* Added RdKafka\KafkaConsumer::queryWatermarkOffsets() (#271, @nick-zh)
* Added RdKafka\KafkaConsumer::close() (#144, @TiMESPLiNTER)

## Enhancements

* Support block on full producer queue (RD_KAFKA_MSG_F_BLOCK) (#245, @nick-zh)
* Add additional partitioners (#267, @nick-zh)
* Fix phpinfo output (#172, @TiMESPLiNTER)
* Don't poll in destruct anymore (#264, #278, @nick-zh)

## Bugfixes

* Fix segfault, remove Producer::newQueue (#273, @nick-zh)

## General

* Dropping support for librdkafka below 0.11 (#247, @arnaud-lb)
* Update build matrix PHP 7.3 + nightly, librdkafka 1.x + master (#249, @arnaud-lb)
* Deprecating deprecated librdkafka functions (#266, #254, #251, @nick-zh)
3.1.2 * Fix build
3.1.1 * Expose query watermark offsets (#219, @gytislakavicius)
* Support sending timestamp (epoch ms) in producev (#228, @lkm)
* Fix KafkaTopic::producev causing segfault on librdkafka 1.0.0 (#222, @Steveb-p)
* Fix version parsing (#224, @dariuskasiulevicius)
3.1.0 * Added timestamp support (@mariam-japaridze)
* Added headers support (@martynaszaliaduonis, @dariuskasiulevicius)
* Added Rdkafka\Conf::setConsumeCb(), RdKafka\Conf::setOffsetCommitCb() (@tPl0ch)
* Added RdKafka\KafkaConsumer::getCommittedOffsets() (@dariuskasiulevicius)
* Fixed RdKafka\Message::errstr() (@JustBlackBird)
* Fixed reflection (@carusogabriel)
* Allow null key and null message (@awons)
* Dropped official PHP 5.4 / 5.5 support (@tPl0ch)
* Improved examples (@dbakiu, @Steveb-p)
3.0.5 * Fixed destruction order, fixes hangs during RdKafka\Consumer destruction
3.0.4 * Fixed destruction order, fixes hangs during RdKafka\Consumer destruction
* Added RdKafka\Conf::setStatsCb
3.0.3 * Reduced termination times
3.0.2 * Fixed ConsumerTopic::consumeStop() hanging on PHP 5
3.0.1 * Fixed build on old gcc
3.0.0 * Unified code for PHP versions 5 and 7. This package builds and works on
PHP 5.3 through PHP 7.x.
2.0.1 This version of rdkafka is indented for php version 7. To compile rdkafka for
older versions of php, use the pecl package version 1.

* Fix build on PHP 7.1
* Various bug fixes
2.0.0 This version of rdkafka is indented for php version 7. To compile rdkafka for
older versions of php, use the pecl package version 1.

* Added high level consumer: Rdkafka\KafkaConsumer (librdkafka 0.9)
* RD_KAFKA_VERSION now reports the runtime librdkafka version
* Added RD_KAFKA_BUILD_VERSION
* Export runtime-provided constants from librdkafka (librdkafka 0.9)
* Added rd_kafka_get_err_descs() (librdkafka 0.9)
* Improve reflection/arginfo
* Rdkafka::metadata() is now a deprecated alias to Rdkafka::getMetadata()
* Rdkafka::outqLen() is now a deprecated alias to Rdkafka::getOutQLen()
* Rdkafka now throws Rdkafka\Exception instances
* Added Rdkafka\Conf::setDefaultTopicConf() (librdkafka 0.9)
* Added Rdkafka\Conf::setDrMsgCb() (librdkafka 0.9)
1.0.0 This version of rdkafka is indented for php version 5. To compile rdkafka for
newer versions of php, use the pecl package version 2.

* Added high level consumer: Rdkafka\KafkaConsumer (librdkafka 0.9)
* RD_KAFKA_VERSION now reports the runtime librdkafka version
* Added RD_KAFKA_BUILD_VERSION
* Export runtime-provided constants from librdkafka (librdkafka 0.9)
* Added rd_kafka_get_err_descs() (librdkafka 0.9)
* Improve reflection/arginfo
* Rdkafka::metadata() is now a deprecated alias to Rdkafka::getMetadata()
* Rdkafka::outqLen() is now a deprecated alias to Rdkafka::getOutQLen()
* Rdkafka now throws Rdkafka\Exception instances
* Added Rdkafka\Conf::setDefaultTopicConf() (librdkafka 0.9)
* Added Rdkafka\Conf::setDrMsgCb() (librdkafka 0.9)
0.9.1 * Allow to build against librdkafka master/0.9.x
0.9.0 * Metadata API
* Consistent partitioner
* Fix ZTS build
0.0.2 Fixed package
0.0.1 First release

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Jan 25 00:05:01 2019 UTC
Bandwidth and hardware provided by: pair Networks