Consul

Consul 是一个服务发现和配置工具。Consul 是分布式的,高度可用和极可伸缩。(Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.)

Github stars Tracking Chart

Consul 是一个服务发现和配置工具。Consul 是分布式的、高度可用和极可伸缩。

Consul 主要特性如下:

  • 服务发现 -- Consul 使服务简单注册自己,并通过DNS或HTTP接口发现其他服务。 外部服务,如SaaS提供商也可以注册。
  • 健康检查 -- 健康检查使领事能够快速警告操作员群集中的任何问题。 与服务发现的集成防止路由流量到不健康的主机,并启用服务级断路器。
  • 键/值存储 -- 灵活的键/值存储可以存储动态配置,功能标记,协调,领导选举等。 简单的HTTP API使其易于在任何地方使用。
  • 多数据中心 -- 支持多数据中心开箱即用。这意味着 Consul 的用户不必担心建立额外的抽象层,以扩展到多个区域。

Consul可在Linux、Mac OS X、FreeBSD、Solaris和Windows上运行。 还提供名为Consul Enterprise的商业版本。

请注意:我们非常重视Consul的安全性和用户的信任。 如果您认为自己在Consul中发现了安全问题,请通过security@hashicorp.com与我们联系,以负责任的方式进行披露。

Main metrics

Overview
Name With Ownerhashicorp/consul
Primary LanguageGo
Program languageGo (Language Count: 11)
PlatformBSD, Linux, Mac, Solaris, Windows
License:Other
所有者活动
Created At2013-11-04 22:15:27
Pushed At2025-06-07 19:38:02
Last Commit At
Release Count495
Last Release Namev1.21.1 (Posted on )
First Release Namev0.1.0 (Posted on )
用户参与
Stargazers Count29k
Watchers Count898
Fork Count4.5k
Commits Count21.6k
Has Issues Enabled
Issues Count5522
Issue Open Count1254
Pull Requests Count13620
Pull Requests Open Count55
Pull Requests Close Count2867
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

Consul CircleCI Discuss

Consul is a tool for service discovery and configuration. Consul is
distributed, highly available, and extremely scalable.

Consul provides several key features:

  • Service Discovery - Consul makes it simple for services to register
    themselves and to discover other services via a DNS or HTTP interface.
    External services such as SaaS providers can be registered as well.

  • Health Checking - Health Checking enables Consul to quickly alert
    operators about any issues in a cluster. The integration with service
    discovery prevents routing traffic to unhealthy hosts and enables service
    level circuit breakers.

  • Key/Value Storage - A flexible key/value store enables storing
    dynamic configuration, feature flagging, coordination, leader election and
    more. The simple HTTP API makes it easy to use anywhere.

  • Multi-Datacenter - Consul is built to be datacenter aware, and can
    support any number of regions without complex configuration.

  • Service Segmentation/Service Mesh - Consul Connect enables secure service-to-service
    communication with automatic TLS encryption and identity-based authorization. Applications
    can use sidecar proxies in a service mesh configuration to establish TLS
    connections for inbound and outbound connections without being aware of Connect at all.

Consul runs on Linux, Mac OS X, FreeBSD, Solaris, and Windows. A commercial
version called Consul Enterprise
is also available.

Please note: We take Consul's security and our users' trust very seriously. If you
believe you have found a security issue in Consul, please responsibly disclose by
contacting us at security@hashicorp.com.

Quick Start

A few quick start guides are available on the Consul website:

Documentation

Full, comprehensive documentation is available on the Consul website:

https://www.consul.io/docs

Contributing

Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance.