Files
sdk/docs/PubsubStreamConfig.md
zeekayandHanzo Dev b55332704a feat: Hanzo Cloud SDK for Kotlin (generated from OpenAPI v8.0.0)
Coroutine-native client covering the full Hanzo /v1 cloud surface, for JVM and
Android. Generated with openapi-generator kotlin (library=jvm-okhttp4,
useCoroutines=true). Coordinate: ai.hanzo:sdk. Base URL: https://api.hanzo.ai.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-25 07:10:32 -07:00

1.3 KiB

PubsubStreamConfig

Properties

Name Type Description Notes
name kotlin.String Unique stream name
subjects kotlin.collections.List<kotlin.String> Subjects captured by this stream
storage inline Storage backend [optional]
replicas inline Replication factor [optional]
retention inline [optional]
maxMsgs kotlin.Int Maximum messages to retain [optional]
maxBytes kotlin.Int Maximum bytes to retain [optional]
maxAge kotlin.Int Maximum age in nanoseconds (0 = unlimited) [optional]
discard inline Discard policy when limits are reached [optional]

Enum: storage

Name Value
storage file, memory

Enum: replicas

Name Value
replicas 1, 3, 5

Enum: retention

Name Value
retention limits, interest, workqueue

Enum: discard

Name Value
discard old, new