Php Rdkafka Versions Save

Production-ready, stable Kafka client for PHP

6.0.3

1 year ago

Improvements

  • Ability to provide custom librdkafka path during pecl install (#526, @Wirone)

6.0.2

1 year ago

Bugfixes

  • Fixed signature of RdKafka\KafkaConsumer::getMetadata() (#521, @arnaud-lb)

6.0.1

2 years ago

Bugfixes

  • Always initialize Message::$headers (#508, @arnaud-lb)

6.0.0

2 years ago

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

2 years ago

Bugfixes

  • Fix crash in RdKafka\TopicPartition::__construct() (#491, @remicollet)

5.0.2

2 years ago

Bugfixes

  • Fix arginfo on getMetadata(), queryWatermarkOffsets() (#494)

6.0.0RC1

2 years ago

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

2 years ago

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

3 years ago

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

3 years ago

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)