nats-io / nats-architecture-and-design

Architecture and Design Docs
Apache License 2.0
205 stars 22 forks source link

Add filtering to KV keys retrival method #289

Open Jarema opened 4 months ago

Jarema commented 4 months ago

Overview

keys() method returns all keys in KV. As KV buckets grow, it makes sense to be able to filter them out.

The behavior is documented in ADR-8, specifically https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-8.md?plain=1#L139

Clients and Tools

Other Tasks

Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.

saurabhojha commented 2 months ago

@levb Would be grateful for a review on this pr : https://github.com/nats-io/nats.c/pull/797