李铭昕
943c66de4b
Added document about how to use rpc-multiplex
2021-06-29 13:59:58 +08:00
李铭昕
5e515f5452
Fixed composer.json
2021-06-29 13:59:58 +08:00
李铭昕
64bda4be71
Added rpc-multiplex component
2021-06-29 13:59:58 +08:00
李铭昕
6bbc208c80
Optimized code for pool which get connection again when first failed. ( #3758 )
...
* Optimized code for pool which get connection again when first failed.
* Update
2021-06-29 09:51:46 +08:00
李铭昕
989c07ab55
Merge branch 'master' into 2.2-merge
...
# Conflicts:
# bin/release.sh
# bin/split.sh
# src/validation/src/Concerns/FormatsMessages.php
2021-06-28 09:40:51 +08:00
李铭昕
42366aa6c1
fetch current branch automatically ( #3756 )
2021-06-28 09:36:00 +08:00
李铭昕
fe7356b9a9
Release v2.1.22 ( #3755 )
2021-06-28 09:13:15 +08:00
huangzhhui
c280028894
Add config file of service-governance
2021-06-28 07:13:23 +08:00
李铭昕
f1cf6e4273
Added Hyperf\ServiceGovernanceNacos\NacosDriver
2021-06-28 07:13:23 +08:00
李铭昕
86dda0a46f
Added Nacos RegisterDriverListener for Service Governance
2021-06-28 07:13:23 +08:00
黄朝晖
23ba15d8ac
Merge pull request #3753 from huangzhhui/config-apollo-long-pulling
...
Add Apollo long pulling mode
2021-06-28 01:12:10 +08:00
李铭昕
2bbbe8689b
Close the channel when loop broken to avoid coroutine couldn't be stopped.
2021-06-27 13:11:50 +08:00
李铭昕
f27b9687e8
Format code
2021-06-27 10:05:46 +08:00
huangzhhui
b1004ee209
Remove useess $mode argument
2021-06-27 07:31:21 +08:00
huangzhhui
0936ab0d13
Added Apollo long pulling mode
2021-06-27 06:33:11 +08:00
huangzhhui
f35ca2fb92
Fixed the ConfigFetcherProcess will exit after just started
2021-06-27 06:32:31 +08:00
huangzhhui
8a205776fc
Add syncConfig(array $config) method to sync config in all cases
2021-06-27 06:31:53 +08:00
沈唁
0941efcff2
Update view-engine.md ( #3747 )
2021-06-26 17:57:43 +08:00
李铭昕
eb9788a609
Added document about how to use custom driver for service governance.
2021-06-26 09:54:06 +08:00
huangzhhui
f7a08b1d74
Register the listeners and processes
2021-06-26 09:54:06 +08:00
huangzhhui
e4a792c613
Uniform the name to Driver
2021-06-26 09:54:06 +08:00
李铭昕
4199d3a49b
Support costom governance for rpc client when using registry.
2021-06-26 09:54:06 +08:00
李铭昕
5cd75ae7fe
Decouple code of consul governance from register listener.
2021-06-26 09:54:06 +08:00
李铭昕
cdf5e4e27b
Support custom register for service governance.
2021-06-26 09:54:06 +08:00
李铭昕
8803737c49
Added test cases for onPipeMessage and createMessageFetcherLoop.
2021-06-25 15:18:48 +08:00
李铭昕
30b120cc1a
Added test cases for config center.
2021-06-25 15:18:48 +08:00
manks0127
7b185a37a7
Update amqp.md ( #3740 )
2021-06-25 13:15:23 +08:00
李铭昕
9953486b68
Added document about how to use config center
2021-06-25 10:04:45 +08:00
李铭昕
057626c6ca
Use string instead of int for mode
which used more friendly in .env
.
2021-06-25 10:04:45 +08:00
李铭昕
ff32b435e1
Removed useless code from config-aliyun-acm
.
2021-06-25 10:04:45 +08:00
huangzhhui
41fa935365
Fixed unit test
2021-06-25 10:04:45 +08:00
huangzhhui
0063c03bba
Remove useless annotation config
2021-06-25 10:04:45 +08:00
huangzhhui
34794861c0
Get nacos client by the interface
2021-06-25 10:04:45 +08:00
huangzhhui
dc016cd7c7
Fixed missing $logger property of apollo client
2021-06-25 10:04:45 +08:00
huangzhhui
0119464094
Uniform all client implement to ClientInterface of config-center
2021-06-25 10:04:45 +08:00
huangzhhui
8d1ab1fad5
Add an abstraction PipeMessage class and uniform the PipeMessage class of all drivers
2021-06-25 10:04:45 +08:00
huangzhhui
02d514427e
Move the path of PipeMessage of Nacos, use the uniform struct
2021-06-25 10:04:45 +08:00
huangzhhui
2f1322e6a1
Refactor config-apollo, remove explicit ReleaseKey
way, extract the ReleaseKey
logic to apollo client
2021-06-25 10:04:45 +08:00
李铭昕
32aec9ddd5
Optimized code for creating fetch loop from PROCESS
or COROUTINE
mode.
2021-06-25 10:04:45 +08:00
李铭昕
1982a4fd3d
Fixed user processes couldn't be merged config from config-center.
2021-06-25 10:04:45 +08:00
huangzhhui
c7819f11c9
Add config-center mode
2021-06-25 10:04:45 +08:00
huangzhhui
df7512877f
Format
2021-06-25 10:04:45 +08:00
huangzhhui
06e8e2ed55
Added AbstractDriver and merge the duplicate code into the abstraction class
2021-06-25 10:04:45 +08:00
李铭昕
e8e1819756
Removed useless code from config-nacos
. ( #3735 )
...
* Removed useless code from `config-nacos`.
* Update composer.json
2021-06-24 17:12:15 +08:00
李铭昕
d1fa965ac8
Added hyperf/service-governance-nacos
component.
2021-06-24 16:30:27 +08:00
李铭昕
bf77b1f6b0
Added nacos adapter for config center.
2021-06-24 16:30:27 +08:00
李铭昕
74e5c8848a
Renamed nacos-sdk
as nacos
.
2021-06-24 16:30:27 +08:00
李铭昕
55d00ad2b6
Removed config zookeeper.php
, please use config_center.php
instead. ( #3733 )
2021-06-24 11:23:29 +08:00
李铭昕
561dc44bc2
Removed config aliyun_acm.php
, please use config_center.php
instead. ( #3731 )
...
* Removed config `aliyun_acm.php`, please use `config_center.php` instead.
* Fixed
2021-06-23 23:43:30 +08:00
李铭昕
da60424b8c
Optimized code for kafka. ( #3730 )
...
- Support `timeout` for `Producer` to avoid requests not responding.
- Removed useless code with pool.
- Throw exceptions when connect kafka failed.
- Removed config `brokers` and `update_brokers` from kafka.
2021-06-23 20:25:22 +08:00