Ocelot.Provider.Etcd.Cluster
1.3.1
dotnet add package Ocelot.Provider.Etcd.Cluster --version 1.3.1
NuGet\Install-Package Ocelot.Provider.Etcd.Cluster -Version 1.3.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ocelot.Provider.Etcd.Cluster" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ocelot.Provider.Etcd.Cluster --version 1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ocelot.Provider.Etcd.Cluster, 1.3.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ocelot.Provider.Etcd.Cluster as a Cake Addin #addin nuget:?package=Ocelot.Provider.Etcd.Cluster&version=1.3.1 // Install Ocelot.Provider.Etcd.Cluster as a Cake Tool #tool nuget:?package=Ocelot.Provider.Etcd.Cluster&version=1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Ocelot.Provider.Etcd
Ocelot.Provider.Etcd
Install-Package Ocelot.Provider.Etcd.Cluster
See: https://github.com/ThreeMammals/Ocelot.Provider.Consul
该版本不同于Ocelot.Provider.Etcd
区别:
1.内部每隔10秒会获取一次节点地址,便于集群使用
2.获取服务信息,虽然也同领事,但是只是初始化,此版本利用了ETCD的V3特性,采用手表机制监视服务配置,更快反应服务信息,所以在这个集成中使用polletcd是没有意义的。
Ocelot.Provider.Etcd.Cluster
ocelot使用etcd服务发现 使用方式 IOcelotBuilder的扩展方法AddEtcd
例如: builder.Services.AddOcelot().AddEtcd(); //加 Etcd服务
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- dotnet-etcd (>= 6.0.1)
- etcd.Provider.Cluster.Extensions (>= 1.3.2)
- Ocelot (>= 19.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.3.1 | 178 | 5/10/2023 |
1.2.9 | 262 | 2/14/2023 |
1.2.8 | 260 | 2/14/2023 |
1.2.6 | 258 | 2/13/2023 |
1.2.6-alpha | 148 | 2/13/2023 |
1.2.5-alpha | 137 | 2/13/2023 |
1.2.4 | 257 | 2/13/2023 |
1.2.3 | 260 | 2/13/2023 |
1.2.2 | 247 | 2/13/2023 |
1.2.1 | 257 | 2/13/2023 |
1.2.0 | 269 | 2/12/2023 |
1.1.0 | 578 | 12/17/2019 |
0.2.2 | 579 | 5/17/2019 |
0.2.1 | 609 | 5/16/2019 |