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.
<PackageVersion Include="Ocelot.Provider.Etcd.Cluster" Version="1.3.1" />
                    
Directory.Packages.props
<PackageReference Include="Ocelot.Provider.Etcd.Cluster" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ocelot.Provider.Etcd.Cluster --version 1.3.1
                    
#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.
#addin nuget:?package=Ocelot.Provider.Etcd.Cluster&version=1.3.1
                    
Install Ocelot.Provider.Etcd.Cluster as a Cake Addin
#tool nuget:?package=Ocelot.Provider.Etcd.Cluster&version=1.3.1
                    
Install Ocelot.Provider.Etcd.Cluster as a Cake Tool

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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 201 5/10/2023
1.2.9 279 2/14/2023
1.2.8 275 2/14/2023
1.2.6 275 2/13/2023
1.2.6-alpha 160 2/13/2023
1.2.5-alpha 149 2/13/2023
1.2.4 273 2/13/2023
1.2.3 275 2/13/2023
1.2.2 262 2/13/2023
1.2.1 272 2/13/2023
1.2.0 283 2/12/2023
1.1.0 612 12/17/2019
0.2.2 621 5/17/2019
0.2.1 646 5/16/2019