Stream commands
The nova commands that create, show, list, change, and delete streams.
The stream commands manage streams as resources: they create one, print its
settings, page through a bucket's streams, change a setting, and delete one.
Each takes the stream's address, nova://bucket/key, and needs a server
address from --addr or NOVA_ADDR, as Connect
explains. The examples use the quickstart cluster.
export NOVA_ADDR=localhost:7781| Command | Does |
|---|---|
nova stream create | Creates a stream, and its bucket when the bucket is missing |
nova stream get | Prints a stream's settings |
nova stream list | Pages through a bucket's streams |
nova stream reconfigure | Changes the settings you name and keeps the rest |
nova stream delete | Deletes a stream and its records |
nova stream trim is on Record commands, and
nova stream ranges, split, and merge are on
Range commands. Every command here takes --output json;
see Output for its shape.
nova stream create
Creates a stream and prints its settings.
nova stream create [options] [nova://bucket/key]Create a stream
nova stream create nova://demo/orders --producer fenced --retention-max-age 24hnova://demo/orders
ID: 01a2048a-5fb2-7cec-b8f3-1156c83e24aa
Class: standard
Producer: fenced
Retention age: 24h0m0s
Throughput: unlimited
Created: -A setting you leave out takes the bucket's default. Created shows -
because the create call does not return the time; nova stream get prints it.
Create a stream with a generated key
Leave out the address, and the stream gets a random UUID as its key in
--bucket:
nova stream create --bucket demonova://demo/0f7c090c-1a86-4641-ad03-c620262cd462
ID: 01a2048a-603a-7407-88cb-fa4410e8f43e
Class: standard
Producer: any
Retention age: unlimited
Throughput: unlimited
Created: -Create a scalable stream
nova stream create nova://demo/clicks --kind scalable --initial-ranges 2nova://demo/clicks
ID: 01a204c3-238a-7da0-81b0-e8dd71b04325
Class: standard
Producer: any
Retention age: unlimited
Throughput: unlimited
Created: -A scalable stream spreads its keys over ranges. The settings do not show the
kind, in text or in JSON. nova stream ranges
does: it lists a scalable stream's ranges, and prints plain stream for a
plain one.
The command first creates the bucket with its default settings when the
bucket does not exist. Creating an address that already holds a stream fails
with exit code 1:
nova: rpc error: code = AlreadyExists desc = star: create 01a20493-f1d8-7dda-9438-db7da008ad8b: metadata: stream existsNova checks the key: 1 to 512 bytes of UTF-8 with no control characters. The ID is the stream's internal name, which logs and storage show. No command takes it as input.
The concept is Streams. The same task is Create a stream or Create a scalable stream with an SDK, and Create a stream over the API.
nova stream get
Prints one stream's settings.
nova stream get [options] <nova://bucket/key>Show a stream
nova stream get nova://demo/ordersnova://demo/orders
ID: 01a2048a-5fb2-7cec-b8f3-1156c83e24aa
Class: standard
Producer: fenced
Retention age: 24h0m0s
Throughput: unlimited
Created: 2026-11-22T18:35:07.058ZShow a stream for a script
nova stream get --output json nova://demo/orders{
"id": "01a2048a-5fb2-7cec-b8f3-1156c83e24aa",
"address": "nova://demo/orders",
"bucket": "demo",
"key": "orders",
"class": "standard",
"producer": "fenced",
"retention": {
"max_age_ms": 86400000,
"max_bytes": 0
},
"throughput": {
"max_bytes_per_second": 0
},
"timestamping": {
"mode": "client-prefer",
"uncapped": false
},
"created_at": "2026-11-22T18:35:07.058Z"
}JSON carries two settings the text leaves out: the size bound of retention,
max_bytes, and how the stream stamps record times, timestamping. Both
come from the bucket, and the CLI cannot set them. A zero means no limit.
Times are RFC 3339 in UTC. A missing stream fails with exit code 1:
nova: client: stream not found: metadata: resolve demo/missing: metadata: stream not foundThe concept is Streams. The same task is
Create a stream,
which also covers GetStream / getStream, with an SDK and
Get a stream over the API.
nova stream list
Prints one page of a bucket's streams, in key order.
nova stream list [options]List a bucket's streams
nova stream list --bucket demo --limit 2ADDRESS CLASS PRODUCER
nova://demo/0f7c090c-1a86-4641-ad03-c620262cd462 standard any
nova://demo/events standard any
Next cursor: 01a2048a6000789bbe9e5893d7ac321e (pass with --cursor)Get the next page
nova stream list --bucket demo --limit 2 --cursor 01a2048a6000789bbe9e5893d7ac321eThe cursor is opaque: pass it back as printed, with the same bucket. The last
page prints no cursor, and an empty bucket prints No streams found.. With
--output json, the page is {"items":[…],"next_cursor":"…"}, and an empty
next_cursor means the last page.
nova ls demo prints the same table and can filter by
key prefix.
The concept is Streams. The same task is List buckets and streams with an SDK and List a bucket's streams over the API.
nova stream reconfigure
Changes the settings you name. A setting you leave out keeps its value.
nova stream reconfigure [options] <nova://bucket/key>Remove the age limit
nova stream reconfigure nova://demo/orders --retention-max-age 0nova://demo/orders
ID: 01a2048a-5fb2-7cec-b8f3-1156c83e24aa
Class: standard
Producer: fenced
Retention age: unlimited
Throughput: unlimited
Created: 2026-11-22T18:35:07.058ZRequire fencing and lift the rate limit
nova stream reconfigure nova://demo/orders --producer fenced --throughput 0The command prints the stream's settings after the change, as above. On this
command 0 means no limit, while on stream create a flag left out takes the
bucket's default. Naming no flag fails with
nova: stream reconfigure: name at least one flag to change and exit code
1.
Retention changes at once. A change of class, producer policy, or throughput
reaches a live stream through a leader handoff: a connected producer
reconnects once, and records already acknowledged keep the class they were
written under. On a cluster with no Express buckets, --class express fails
before anything changes:
nova: rpc error: code = FailedPrecondition desc = star: reconfigure 01a2048a-5fb2-7cec-b8f3-1156c83e24aa to express: star: class not served by this starA stream's kind is fixed when it is created.
The concept is Retention. The same task is Change a stream's settings with an SDK and Reconfigure a stream over the API.
nova stream delete
Deletes a stream and its records.
nova stream delete [options] <nova://bucket/key>Delete a stream
nova stream delete nova://demo/eventsdeleted nova://demo/eventsWith --output json:
{
"action": "deleted",
"address": "nova://demo/events"
}The command does not ask for confirmation. From then on, appends and reads
of the address fail with stream not found, and a new stream create at the
same address makes a new, empty stream with a new ID. A retried delete of
the same stream prints deleted again, so a script can repeat it. An address
that never held a stream fails with exit code 1.
The concept is Streams. The same task is Delete a stream with an SDK and Delete a stream over the API.