Does Consul persist the Key Value store?

Pieter picture Pieter · Jun 12, 2015 · Viewed 9.8k times · Source

I'm evaluating a few distributed key-value stores, and etcd and Consul looks both very promising. I am interested in service discovery, health monitoring and config services.

I like the extra features that Consul gives, but I cannot determine whether it persists the Key-Value store when the service goes down? It seems that etcd offers persistence. Any advice?

Answer

Mistriel picture Mistriel · Apr 25, 2016

Consul agents (cilent & server) persist data into data-dir.

The only case where agent doesn't persist data is where its started in "-dev" mode.