Changelog for rdkafka |
Release |
What has changed? |
6.0.3 |
## Improvements
- Ability to provide custom `librdkafka` path during pecl install (#526, @Wirone) |
6.0.2 |
## Bugfixes
- Fixed signature of RdKafka\KafkaConsumer::getMetadata() (#521, @arnaud-lb) |
6.0.1 |
## Bugfixes
- Always initialize Message::$headers (#508, @arnaud-lb) |
6.0.0 |
# Changes since 5.x
## Improvements
- PHP 8.1 support (@remicollet, @ruudk, @nick-zh)
- Added parameter types (when built with PHP>=8.0) (@arnaud-lb)
- Added tentative return types (when built with PHP>=8.1) (@arnaud-lb)
## Deprecations
- PHP 8.1: Overloading php-rdkafka methods without specifying a return type
will trigger a deprecation message unless annotated with
#[\ReturnTypeWillChange]
# Changes since 6.0.0RC2
## Bugfixes
- Fix newTopic() arginfo (#502, @arnaud-lb) |
6.0.0RC2 |
## Bugfixes
- Fix crash in RdKafka\TopicPartition::__construct() (#491, @remicollet) |
5.0.2 |
## Bugfixes
- Fix arginfo on getMetadata(), queryWatermarkOffsets() (#494) |
6.0.0RC1 |
## Enhancements
- PHP 8.1 support (@ruudk, @remicollet, @nick-zh, @arnaud-lb)
## Breaking changes
- Added tentative return types in PHP 8.1 builds |
5.0.1 |
## Enhancements
- Add pausePartitions(), resumePartitions() on RdKfaka, RdKafka\KafkaConsumer (#438, @arnaud-lb)
- Clarify error when KafkaConsumer is closed (@zoonru)
## Bugfixes
- Fix windows build (#440, @nick-zh)
- Fix crash in RdKafka\Metadata\Topic::getTopic() (#465, @arnaud-lb) |
5.0.0 |
## Enhancements
- PHP 8 support (@nick-zh, @arnaud-lb)
- Suport passing an opaque value in produce(), producev() (@arnaud-lb)
## Breaking changes
- Dropped PHP 5 support |
4.1.2 |
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.
## Enhancements
- Enabled features on windows build: headers, purge, murmur (#410, @nick-zh, @cmb69) |
4.1.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.
## Bugfixes
- Fix windows pecl build (#402, @nick-zh) |
4.1.0 |
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
- Add transactional producer support (#359, @nick-zh) |
4.0.4 |
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.
## Bugfixes
- Fix crash during shurtdown (#367, @nick-zh, @sofire)
## Enhancements
- Improved CI (@Steveb-p, @arnaud-lb)
## Documentation
- Improved doc (@nick-zh, @Steveb-p) |
4.0.3 |
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.
## Improvements
- Add partition check for offsetStore (#331, @nick-zh)
- Naming consistency for setting in tests (#339, @romainneutron)
## Bugfixes
- Fix headers containing null bytes (#338, @arnaud-lb, @dirx @nick-zh)
- Fix topic deconstruct for high level consumer (#333, @nick-zh)
## Documentation
- Fix doc example (#340, @Steveb-p)
- Remove outdated and duplicate examples (#341, @nick-zh) |
4.0.2 |
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.
## Bugfixes
* Fix partition 0 exposed as NULL in Message (#327 reverts #321, @arnaud-lb @nick-zh)
* Fix memory leak in consume() when messages have headers (#323, @nick-zh) |
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 |
|