crate/cratedb-prometheus-adapter

Ability to write to N different CrateDB cluster instances

nickmy9729 opened this issue · 0 comments

Description:

The ability to write to 2 or more CrateDB cluster instances would be a huge benefit for an adapter like this. It would allow running CrateDB with a DR site, without the huge overhead of setting up site replication and incurring the performance overhead associated with it. Even in failure the databases could be made eventually consistent by use of a replay log, or fallout log.

Details:

Since this adapter already allows for multiple crate endpoints, where the reads are balanced, you could take advantage of this config and send writes to each. If the cluster is unavailable, send the data to a replay file for that crate instance. The replay could be handled using another tool, or by running the adapter on the command line with a replay option.