NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3480 most downloaded on Packagist
A kafka client. Support php-fpm and Swoole.
Latest stable
v1.2.5
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 3 weeks to 1.2 years
Most releases are documented
notes for 10 of 14 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
14 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Close channels when close socket. by @limingxinleo in https://github.com/swoole/phpkafka/pull/78
Full Changelog: https://github.com/swoole/phpkafka/compare/v1.2.1...v1.2.2
Full Changelog: v1.2.1...v1.2.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Optimize socket close and reconnect
Producer send with header support key-value and RecordHeader
Support SASL authentication (#47)
Support SSL (#50)
Producer send with header support key-value and RecordHeader (#55)
支持 SASL (#47)
支持 SSL (#50)
发布者发送头时,同时支持键值数组和 RecordHeader 数组 (#55)
Fix When acks is set to 0, data is inserted repeatedly
Fix When acks is set to 0, data is inserted repeatedly (#42)
Fix use currentLeaderEpoch when updateListOffsets (#44)
Throw NoAliveBrokerException when no brokers are available. (#43)
Optimize (#41)
修复当 acks 设为 0 时,重复插入消息的问题 (#42)
修复 updateListOffsets() 时使用 currentLeaderEpoch (#44)
当没有可用的代理时抛出NoAliveBrokerException (#43)
优化 (#41)
Add produceRetry, produceRetrySleep in ProducerConfig
Fix typo
Fix array type is null #38
Fix producing messages to an uncreated topic
修复拼写问题
修复数组类型为 null 时返回报错问题
修复给未创建的主题生产消息问题
Add Coding Standards php-cs-fixer
Add Coding Standards php-cs-fixer
Add phpstan
Add minBytes、maxBytes、maxWait in ConsumerConfig
Add brokers in ConsumerConfig. The broker is alias of brokers now.
Add ISSUE_TEMPLATE
Optimize Exception message
Consumer error handling rejoin
Fix a possible error
Fix RangeAssignor and RoundRobinAssignor
Fix consumer when after log cleanup
Fix saveOffsets
增加代码标准检测 php-cs-fixer
增加静态分析工具 phpstan
在 ConsumerConfig 中增加 minBytes、maxBytes、maxWait
在 ConsumerConfig 中增加 brokers。broker 现在是 brokers 的别名了
增加 issue 提问模版
优化异常消息文字
部分消费错误时 rejoin()
修复一处可能的错误
修复 RangeAssignor 和 RoundRobinAssignor
修复清理日志后的消费问题
修复保存偏移量
Add exceptionCallback in CommonConfig
Add exceptionCallback in CommonConfig
Support producer partition strategy
Fix: dead loop (#22)
Fix ConsumeMessage $value type (#23)
Fix problems with multiple brokers (#24)
在 CommonConfig 中增加了 exceptionCallback
支持分区分配策略
修复死循环
修复 ConsumeMessage $value 的类型
修复多 broker 情况下的生产和消费问题
支持消费者分区分配策略之粘性分配-\longlang\phpkafka\Consumer\Assignor\StickyAssignor
\longlang\phpkafka\Consumer\Assignor\StickyAssignorbootstrapServers,原 bootstrapServer 作为别名,依然可以使用ConsumerConfig 中 broker 为数组时的问题(#10)Broker->getClient()(#11)分区分配策略: 范围分配-longlang\phpkafka\Consumer\Assignor\RangeAssignor 轮询分配-\longlang\phpkafka\Consumer\Assignor\RoundRobinAssignor 粘性分配(暂未支持)-\longlang\phpka
分区分配策略:
范围分配-longlang\phpkafka\Consumer\Assignor\RangeAssignor
轮询分配-\longlang\phpkafka\Consumer\Assignor\RoundRobinAssignor
粘性分配(暂未支持)-\longlang\phpkafka\Consumer\Assignor\StickyAssignor | longlang\phpkafka\Consumer\Assignor\RangeAssignor
RecordBatchConsumerConfig 的 partitions 参数,转而使用分配策略ack() 写法更改,请参考文档Added code for KafkaErrorException (#4) (@limingxinleo)
支持分组操作重试机制
支持偏移操作重试机制
支持心跳机制
Added code for KafkaErrorException (#4) (@limingxinleo)
优化代码 (#5) (@PandaLIU-1111)
增加测试用例
修复消费者逻辑问题 #2
修复消费者内存泄漏问题 #3
修复消费多个分区时报 crc32 验证错误问题
Nothing published for this version
One column per quarter.