diff --git a/adr/ADR-8.md b/adr/ADR-8.md index b98e6f9..03bdb36 100644 --- a/adr/ADR-8.md +++ b/adr/ADR-8.md @@ -19,7 +19,8 @@ | 4 | 2023-10-25 | Support compression | 2.10.0 | | 5 | 2024-06-05 | Add KV management | | | 6 | 2024-06-05 | Add Keys listers with filters | | -| 7 | 2025-02-23 | Add Max Age limit Markers, remove non direct gets | 2.11.0 | +| 7 | 2025-01-23 | Add Max Age limit Markers, remove non direct gets | 2.11.0 | +| 8 | 2025-02-17 | Add Metadata | 2.10.0 | ## Context @@ -44,7 +45,6 @@ additional behaviors will come during the 1.x cycle. * Key deletes preserves history * Keys can be expired from the bucket based on a TTL, TTL is set for the entire bucket * Watching a specific key, ranges based on NATS wildcards, or the entire bucket for live updates - * Read-after-write safety * Valid keys are `\A[-/_=\.a-zA-Z0-9]+\z`, additionally they may not start or end in `.` * Valid buckets are `\A[a-zA-Z0-9_-]+\z` * Custom Stream Names and Stream ingest subjects to cater for different domains, mirrors and imports @@ -320,6 +320,7 @@ A bucket is a Stream with these properties: * Allow Direct is always set to `true`. (It can be modified out-of-band only if desired, but not through KV bucket update.) * Placement is allowed * Republish is allowed + * Stream Metadata is allowed * If compression is requested in the configuration set `compression` to `s2` Enabling Limit Markers requires NATS Server with API level 1 or newer support (2.11+) and clients should assert this using the `$JS.API.INFO` call or similar means (not connected server version). @@ -357,6 +358,9 @@ Here is a full example of the `CONFIGURATION` bucket with compression enabled: "src": "repub.>", "dest": "dest.>", "headers_only": true + }, + "metadata": { + "encoding": "base64" } } ```