Skip to content

Feature request: NATS based locking #705

@pobk

Description

@pobk

Currently documentation mentions that only Consul is supported as the locker (although I see source for Redis and k8s).

This would be a relatively simple addition to make to enable NATS based locking possible.

Given that the NATS client requirement is already built into the image, would it be possible to implement a locker based on NATS JetStream KVStore functions. Although it doesn't have a specific locking mechanism, this can be done using either something like https://github.com/metal-toolbox/addonx or using a purpose built implementation.

There's a discussion around distributed locking on nats-io/nats-server#4803

If there's interest in this, I may be able to work on it.

~ P

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions