Commit Graph

6242 Commits

Author SHA1 Message Date
sy-records
6d087e3bae Update Runtime::enableCoroutine param 2021-01-12 17:24:27 +08:00
sy-records
e483a1e3f8 Update swoole_hook_flags docs 2021-01-12 17:24:27 +08:00
pandaLIU
e6bf2d78ce
Removed useless code. (#3109)
* Updated kafka.md

* Update changelog.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-12 11:50:37 +08:00
李铭昕
4b174ac5ba
Optimized PHPUnit for kafka. (#3107) 2021-01-12 09:24:40 +08:00
李铭昕
17a4e2f52a
Fixed bug that call to a member function getArrayCopy() on null when the parent coroutine context destroyed. (#3106)
* Fixed copy failed when the parent coroutine context destroyed.

* Update CHANGELOG-2.1.md
2021-01-11 19:08:16 +08:00
李铭昕
d2ab897386
Added OnPacketInterface. (#3103) 2021-01-11 18:03:17 +08:00
李铭昕
301f28e237
Added kafka into docs. (#3102) 2021-01-11 14:33:53 +08:00
李铭昕
7139be6a43
v2.1.2 (#3100) 2021-01-11 09:57:22 +08:00
李铭昕
455e38d0da Fixed PHPUnit 2021-01-10 17:02:47 +08:00
李铭昕
a42db1e2c1 Format code 2021-01-10 17:02:47 +08:00
pandaLIU
fe7b3e1e31 Updated AbstractConsumer.php 2021-01-10 17:02:47 +08:00
pandaLIU
7aee813c87 Updated ConssumerManager.php 2021-01-10 17:02:47 +08:00
pandaLIU
82d57e2d56 Updated kafka.md 2021-01-10 17:02:47 +08:00
pandaLIU
4e8eea9836 Updated kafka test case 2021-01-10 17:02:47 +08:00
pandaLIU
e4198cf198 Upgrade longlang/phpkafka version 2021-01-10 17:02:47 +08:00
pandaLIU
ef50e8af34 Fixed ConsumerManager.php 2021-01-10 17:02:47 +08:00
pandaLIU
4ad53053f9 Updated start consumer retry number 2021-01-10 17:02:47 +08:00
pandaLIU
df22afadfa Added ConsumerManagerTest for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
adb3eff390 Added config for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
cf2ac1a14f update doc for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
4ed6a6a918 Updated doc for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
c5a49001ec Optimized ConsumerManager for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
3cbf6c66ee Optimized ConsumerManager.php for kafka 2021-01-10 17:02:47 +08:00
pandaLIU
1081c76d23 Updated kafk-comsumer.stub 2021-01-10 17:02:47 +08:00
pandaLIU
8bd9867ac7 Added rejoin group for kafka 2021-01-10 17:02:47 +08:00
李铭昕
188a6f0dbb Added consume result for kafka. 2021-01-10 17:02:47 +08:00
pandaLIU
261703d0df Added kafka Consumer event 2021-01-10 17:02:47 +08:00
pandaLIU
3c09664977 update ConsumerManager 2021-01-10 17:02:47 +08:00
pandaLIU
6b712229af update Producer.php 2021-01-10 17:02:47 +08:00
pandaLIU
792b271445 Add kafka.md 2021-01-10 17:02:47 +08:00
李铭昕
4ef810fbc0 Added property enable for Kafka @Consumer. 2021-01-10 17:02:47 +08:00
pandaLIU
7eb23d5da2 Add gen:kafka-consumer command 2021-01-10 17:02:47 +08:00
李铭昕
6975146d1c Fixed PHPStan. 2021-01-10 17:02:47 +08:00
pandaLIU
a2f4203d46 update kafka.php 2021-01-10 17:02:47 +08:00
李铭昕
5acfbd594e Optimized code for kafka. 2021-01-10 17:02:47 +08:00
pandaLIU
033ea3e761 Added kafka 2021-01-10 17:02:47 +08:00
刘志铭
2da93f3af4
Fixed getRealPath does not works in phar. (#3084)
* Fixed `getRealPath` does not works in phar.

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-10 11:37:33 +08:00
李铭昕
65b33f5b1e
Setup yasd int Github Actions (#3097)
* Setup yasd

* Update

* Update PipelineTest.php
2021-01-09 21:19:28 +08:00
pandaLIU
a11748003e
Fixed unexpected behavior for ElasticsearchEngine::getTotalCount() in hyperf/scout. (#3095)
* Fixed unexpected behavior for `ElasticsearchEngine::getTotalCount()` in `hyperf/scout`.

* Format code

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-09 17:44:10 +08:00
李铭昕
ef63719d55
Added test case for checking refcount for aop pipeline. (#3088)
* Added test case for checking refcount for aop pipeline.

* Update
2021-01-08 15:06:04 +08:00
李铭昕
81990251a2 Merge branch '2.0' into 2.1-merge-from2.0 2021-01-08 14:02:36 +08:00
李铭昕
51f4c5e96b
Fixed memory leak when using pipeline sometimes. (#3087)
* Fixed pipeline memory leak some times.

* Update CHANGELOG-2.0.md
2021-01-08 13:04:56 +08:00
刘志铭
cb86ba1c42
Optimized phar:build for rewriting scan_cacheable. (#3046)
- Optimized `phar:build` for rewriting `scan_cacheable`
- Support option phar-version for `phar:build`


Co-authored-by: liuzhiming1 <liuzhiming1@chelun.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-07 17:12:25 +08:00
李铭昕
a35c7f16c4
Fixed db connection has already been bound to another coroutine when used in defer (#3082)
* Fixed db connection has already been bound to another coroutine when used in defer

* Update CHANGELOG-2.1.md
2021-01-07 16:39:49 +08:00
pandaLIU
390e70839e
Added method ConnectionInterface::run(Closure $closure) for hyperf/db. (#3066)
* Added method `ConnectionInterface::run(Closure $closure)` for `hyperf/db`

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-07 15:50:28 +08:00
李铭昕
4e4a447f33 Fixed the wrong count of changes. 2021-01-07 14:39:11 +08:00
李铭昕
a616fdeab9 Fixed extra data saved twice when use save() after increment() with extra. 2021-01-07 14:39:11 +08:00
李铭昕
84e52ebb85 Optimized code for incrementOrDecrement() 2021-01-07 14:39:11 +08:00
谷溪
e0533cb7f9
revert: flysystem v2.0 support (#3077)
* revert: flysystem v2.0 support

v2.0 is incompatible with almost all adapters available.

* Update composer.json

* Update CHANGELOG-2.1.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2021-01-06 16:01:13 +08:00
沈唁
cec05b6652
Fix typo (#3075) 2021-01-06 09:57:50 +08:00