Skip to content
Snippets Groups Projects
Commit 776f40c4 authored by xg.gao's avatar xg.gao
Browse files

Merge branch 'master' into consul

parents d92f931e 68ed8c9a
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,8 @@ Apache License, Version 2.0 ...@@ -16,6 +16,8 @@ Apache License, Version 2.0
## Release note ## ## Release note ##
[v1.5.0 - July 24, 2020](https://github.com/apache/dubbo-go/releases/tag/v1.5.0)
[v1.4.0 - Mar 17, 2020](https://github.com/apache/dubbo-go/releases/tag/v1.4.0) [v1.4.0 - Mar 17, 2020](https://github.com/apache/dubbo-go/releases/tag/v1.4.0)
[v1.3.0 - Mar 1, 2020](https://github.com/apache/dubbo-go/releases/tag/v1.3.0) [v1.3.0 - Mar 1, 2020](https://github.com/apache/dubbo-go/releases/tag/v1.3.0)
...@@ -49,6 +51,7 @@ Finished List: ...@@ -49,6 +51,7 @@ Finished List:
- Codec - Codec
* JsonRPC V2 * JsonRPC V2
* Hessian V2 * Hessian V2
* [json for grpc](https://github.com/apache/dubbo-go/pull/582)
- Protocol - Protocol
* Dubbo * Dubbo
...@@ -110,6 +113,16 @@ Finished List: ...@@ -110,6 +113,16 @@ Finished List:
* [For dubbo](https://github.com/apache/dubbo-go/pull/344) * [For dubbo](https://github.com/apache/dubbo-go/pull/344)
* [For grpc](https://github.com/apache/dubbo-go/pull/397) * [For grpc](https://github.com/apache/dubbo-go/pull/397)
- Metadata Center
* [Nacos](https://github.com/apache/dubbo-go/pull/522)
* [Zookeeper](https://github.com/apache/dubbo-go/pull/633)
* [Etcd](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/metadata/report/etcd/report.go)
- Service discovery
* [Nacos](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/nacos/service_discovery.go)
* [Zookeeper](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/zookeeper/service_discovery.go)
* [Etcd](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/etcdv3/service_discovery.go)
- Others: - Others:
* start check * start check
* connecting certain provider * connecting certain provider
...@@ -118,11 +131,6 @@ Finished List: ...@@ -118,11 +131,6 @@ Finished List:
* multi-versions * multi-versions
* service group * service group
Working List:
- Metadata Center (dubbo v2.7.x)
- Service Discovery (dubbo v2.7.x)
You can know more about dubbo-go by its [roadmap](https://github.com/apache/dubbo-go/wiki/Roadmap). You can know more about dubbo-go by its [roadmap](https://github.com/apache/dubbo-go/wiki/Roadmap).
![feature](./doc/pic/arch/dubbo-go-arch.png) ![feature](./doc/pic/arch/dubbo-go-arch.png)
......
...@@ -15,6 +15,8 @@ Apache License, Version 2.0 ...@@ -15,6 +15,8 @@ Apache License, Version 2.0
## 发布日志 ## ## 发布日志 ##
[v1.5.0 - 2020年7月24日](https://github.com/apache/dubbo-go/releases/tag/v1.5.0)
[v1.4.0 - 2020年3月17日](https://github.com/apache/dubbo-go/releases/tag/v1.4.0) [v1.4.0 - 2020年3月17日](https://github.com/apache/dubbo-go/releases/tag/v1.4.0)
[v1.3.0 - 2020年3月1日](https://github.com/apache/dubbo-go/releases/tag/v1.3.0) [v1.3.0 - 2020年3月1日](https://github.com/apache/dubbo-go/releases/tag/v1.3.0)
...@@ -48,6 +50,7 @@ Apache License, Version 2.0 ...@@ -48,6 +50,7 @@ Apache License, Version 2.0
- 序列化协议 - 序列化协议
* JsonRPC V2 * JsonRPC V2
* Hessian V2 * Hessian V2
* [json for grpc](https://github.com/apache/dubbo-go/pull/582)
- 协议 - 协议
* Dubbo * Dubbo
...@@ -108,6 +111,15 @@ Apache License, Version 2.0 ...@@ -108,6 +111,15 @@ Apache License, Version 2.0
* [For dubbo](https://github.com/apache/dubbo-go/pull/344) * [For dubbo](https://github.com/apache/dubbo-go/pull/344)
* [For grpc](https://github.com/apache/dubbo-go/pull/397) * [For grpc](https://github.com/apache/dubbo-go/pull/397)
- 元数据中心
* [Nacos](https://github.com/apache/dubbo-go/pull/522)
* [Zookeeper](https://github.com/apache/dubbo-go/pull/633)
* [Etcd](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/metadata/report/etcd/report.go)
- 服务发现
* [Nacos](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/nacos/service_discovery.go)
* [Zookeeper](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/zookeeper/service_discovery.go)
* [Etcd](https://github.com/apache/dubbo-go/blob/9a5990d9a9c3d5e6633c0d7d926c156416bcb931/registry/etcdv3/service_discovery.go)
- 其他功能支持: - 其他功能支持:
* 启动时检查 * 启动时检查
...@@ -117,11 +129,6 @@ Apache License, Version 2.0 ...@@ -117,11 +129,6 @@ Apache License, Version 2.0
* 多服务版本 * 多服务版本
* 服务分组 * 服务分组
开发中列表:
- 元数据中心 (dubbo v2.7.x)
- 服务发现 (dubbo v2.7.x)
你可以通过访问 [roadmap](https://github.com/apache/dubbo-go/wiki/Roadmap) 知道更多关于 dubbo-go 的信息。 你可以通过访问 [roadmap](https://github.com/apache/dubbo-go/wiki/Roadmap) 知道更多关于 dubbo-go 的信息。
![feature](./doc/pic/arch/dubbo-go-arch.png) ![feature](./doc/pic/arch/dubbo-go-arch.png)
......
...@@ -47,7 +47,7 @@ type ConsumerConfig struct { ...@@ -47,7 +47,7 @@ type ConsumerConfig struct {
ConnectTimeout time.Duration ConnectTimeout time.Duration
Registry *RegistryConfig `yaml:"registry" json:"registry,omitempty" property:"registry"` Registry *RegistryConfig `yaml:"registry" json:"registry,omitempty" property:"registry"`
Registries map[string]*RegistryConfig `yaml:"registries" json:"registries,omitempty" property:"registries"` Registries map[string]*RegistryConfig `default:"{}" yaml:"registries" json:"registries" property:"registries"`
Request_Timeout string `yaml:"request_timeout" default:"5s" json:"request_timeout,omitempty" property:"request_timeout"` Request_Timeout string `yaml:"request_timeout" default:"5s" json:"request_timeout,omitempty" property:"request_timeout"`
RequestTimeout time.Duration RequestTimeout time.Duration
......
...@@ -26,7 +26,7 @@ var ( ...@@ -26,7 +26,7 @@ var (
// ShutdownSignals receives shutdown signals to process // ShutdownSignals receives shutdown signals to process
ShutdownSignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGKILL, syscall.SIGSTOP, ShutdownSignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGKILL, syscall.SIGSTOP,
syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP, syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP,
syscall.SIGABRT, syscall.SIGSYS} syscall.SIGABRT, syscall.SIGSYS, syscall.SIGTERM}
// DumpHeapShutdownSignals receives shutdown signals to process // DumpHeapShutdownSignals receives shutdown signals to process
DumpHeapShutdownSignals = []os.Signal{syscall.SIGQUIT, syscall.SIGILL, DumpHeapShutdownSignals = []os.Signal{syscall.SIGQUIT, syscall.SIGILL,
......
...@@ -26,7 +26,7 @@ var ( ...@@ -26,7 +26,7 @@ var (
// ShutdownSignals receives shutdown signals to process // ShutdownSignals receives shutdown signals to process
ShutdownSignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGKILL, syscall.SIGSTOP, ShutdownSignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGKILL, syscall.SIGSTOP,
syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP, syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP,
syscall.SIGABRT, syscall.SIGSYS} syscall.SIGABRT, syscall.SIGSYS, syscall.SIGTERM}
// DumpHeapShutdownSignals receives shutdown signals to process // DumpHeapShutdownSignals receives shutdown signals to process
DumpHeapShutdownSignals = []os.Signal{syscall.SIGQUIT, syscall.SIGILL, DumpHeapShutdownSignals = []os.Signal{syscall.SIGQUIT, syscall.SIGILL,
......
...@@ -26,7 +26,7 @@ var ( ...@@ -26,7 +26,7 @@ var (
// ShutdownSignals receives shutdown signals to process // ShutdownSignals receives shutdown signals to process
ShutdownSignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGKILL, ShutdownSignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGKILL,
syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP, syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP,
syscall.SIGABRT} syscall.SIGABRT, syscall.SIGTERM}
// DumpHeapShutdownSignals receives shutdown signals to process // DumpHeapShutdownSignals receives shutdown signals to process
DumpHeapShutdownSignals = []os.Signal{syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP, syscall.SIGABRT} DumpHeapShutdownSignals = []os.Signal{syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP, syscall.SIGABRT}
......
...@@ -48,7 +48,7 @@ type ProviderConfig struct { ...@@ -48,7 +48,7 @@ type ProviderConfig struct {
ConfigType map[string]string `yaml:"config_type" json:"config_type,omitempty" property:"config_type"` ConfigType map[string]string `yaml:"config_type" json:"config_type,omitempty" property:"config_type"`
Registry *RegistryConfig `yaml:"registry" json:"registry,omitempty" property:"registry"` Registry *RegistryConfig `yaml:"registry" json:"registry,omitempty" property:"registry"`
Registries map[string]*RegistryConfig `yaml:"registries" json:"registries,omitempty" property:"registries"` Registries map[string]*RegistryConfig `default:"{}" yaml:"registries" json:"registries" property:"registries"`
} }
// UnmarshalYAML unmarshals the ProviderConfig by @unmarshal function // UnmarshalYAML unmarshals the ProviderConfig by @unmarshal function
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment