mirror of
https://github.com/hanzo-kt/sdk.git
synced 2026-10-30 20:43:57 +00:00
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]>
1.3 KiB
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 |