Skip to content
Discussion options

You must be logged in to vote

You need to do a little bit of subject transformation as you source into your aggregated stream, as the name of the bucket is part of the subject of the messages when stored in the stream underlying a KV bucket.

Example of the StreamConfig for a bucket C that sources from KV buckets A and B:

{
  "name": "KV_C",
  "subjects": [
    "$KV.C.>"
  ],
  "retention": "limits",
  "max_consumers": -1,
  "max_msgs_per_subject": 1,
  "max_msgs": -1,
  "max_bytes": -1,
  "max_age": 0,
  "max_msg_size": -1,
  "storage": "file",
  "discard": "new",
  "num_replicas": 1,
  "duplicate_window": 120000000000,
  "placement": {
    "cluster": ""
  },
  "sources": [
    {
      "name": "KV_A",
      "filter_su…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jnmoyne
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jnmoyne
Comment options

jnmoyne Feb 7, 2026
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants