Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure. https://www.consul.io
Go to file
Daniel Upton 6452118c15 proxycfg-sources: fix hot loop when service not found in catalog
Fixes a bug where a service getting deleted from the catalog would cause
the ConfigSource to spin in a hot loop attempting to look up the service.

This is because we were returning a nil WatchSet which would always
unblock the select.

Kudos to @freddygv for discovering this!
2022-08-02 15:42:29 +01:00
.changelog Add changelog note 2022-07-22 10:33:50 -07:00
.circleci Add Consul Lambda integration tests (#13770) 2022-07-21 09:54:56 -07:00
.github ci: Use pattern for CRT release branch config (#13955) 2022-08-01 12:56:55 -07:00
.release ci: Use pattern for CRT release branch config (#13955) 2022-08-01 12:56:55 -07:00
acl Add ACL enforcement to peering endpoints 2022-07-25 09:34:29 -06:00
agent proxycfg-sources: fix hot loop when service not found in catalog 2022-08-02 15:42:29 +01:00
api Implement/Utilize secrets for Peering Replication Stream (#13977) 2022-08-01 10:33:18 -04:00
bench
build-support makefile: give better error for tool installed by wrong package (#13797) 2022-07-19 09:16:24 -07:00
command fix (cli): import empty directory to kv (#13939) 2022-07-28 10:54:25 -04:00
connect Ensure connections are closed before WaitGroup marked as done 2022-07-29 09:29:13 -04:00
contributing Move contributing to docs 2021-08-30 16:17:09 -04:00
docs peering: add config to enable/disable peering (#13867) 2022-07-22 15:20:21 -07:00
grafana add readme outlining how to edit and publish 2021-01-12 14:47:11 -08:00
internal Extract AWS auth implementation out of Consul (#13760) 2022-07-19 16:26:44 -05:00
ipaddr Ensure Consul is IPv6 compliant (#5468) 2019-06-04 10:02:38 -04:00
lib Extract AWS auth implementation out of Consul (#13760) 2022-07-19 16:26:44 -05:00
logging peering: emit exported services count metric (#13811) 2022-07-22 12:05:08 -07:00
proto Implement/Utilize secrets for Peering Replication Stream (#13977) 2022-08-01 10:33:18 -04:00
proto-public Rename some protobuf package names to be fqdn like (#13861) 2022-07-22 14:59:34 -04:00
sdk peering: default to false (#13963) 2022-08-01 15:22:36 -04:00
sentinel re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
service_os re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
snapshot Vendor in rpc mono repo for net/rpc fork, go-msgpack, msgpackrpc. (#12311) 2022-02-14 09:45:45 -08:00
test peering: default to false (#13963) 2022-08-01 15:22:36 -04:00
testrpc peering: initial sync (#12842) 2022-04-21 17:34:40 -05:00
tlsutil server: ensure peer replication can successfully use TLS over external gRPC (#13733) 2022-07-15 13:15:50 -05:00
tools/internal-grpc-proxy grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
types agent: convert listener config to TLS types (#12522) 2022-03-24 15:32:25 -04:00
ui ui: Make peered intentions read-only (#13814) 2022-07-26 17:29:37 +01:00
version [CI-only] Dev tag update for main (#13541) 2022-06-24 13:45:57 -07:00
website peering: default to false (#13963) 2022-08-01 15:22:36 -04:00
.dockerignore Update the scripting 2018-06-14 21:42:47 -04:00
.gitignore chore: ignore vscode files 2022-07-25 12:31:58 -04:00
.golangci.yml Fix proto lint errors after version bump 2022-05-24 18:44:54 -07:00
CHANGELOG.md Add changelog entries from latest releases (#13746) 2022-07-13 18:23:53 -07:00
Dockerfile [CI-only] Support UBI images (#13232) 2022-05-26 09:49:47 -07:00
GNUmakefile proto: add package prefixes for all proto files where it is safe (#13735) 2022-07-13 11:03:27 -05:00
LICENSE
NOTICE.md add copyright notice file 2018-07-09 10:58:26 -07:00
README.md Adjust README header to work in light and dark modes 2022-02-07 16:46:46 -08:00
Vagrantfile Adds a basic Linux Vagrant setup, stolen from Nomad. 2017-10-06 08:10:12 -07:00
fixup_acl_move.sh Fixup script 2 2022-04-05 14:52:43 -07:00
go.mod Extract AWS auth implementation out of Consul (#13760) 2022-07-19 16:26:44 -05:00
go.sum update generate token endpoint to take external addresses (#13844) 2022-07-21 14:56:11 -07:00
main.go Refactor some functions for better enterprise use (#13280) 2022-05-30 09:46:55 -04:00

README.md

Consul logo Consul

Docker Pulls Go Report Card

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

Consul provides several key features:

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

  • Service Mesh/Service Segmentation - 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.

  • 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.

Consul runs on Linux, macOS, FreeBSD, Solaris, and Windows and includes an optional browser based UI. 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. For contributions specifically to the browser based UI, please refer to the UI's README.md for guidance.