Files
sdk/docs/MqConsumerConfig.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

2.4 KiB

MqConsumerConfig

Properties

Name Type Description Notes
durableName kotlin.String Durable consumer name. If set, the consumer survives client disconnections. [optional]
filterSubject kotlin.String Subject filter. Only messages matching this subject are delivered. Supports wildcards. [optional]
ackPolicy inline Acknowledgment policy. `explicit` requires per-message ack. `all` acks all messages up to the acked sequence. `none` disables acks. [optional]
deliverPolicy inline Where to start delivery. `all` delivers from the beginning. `last` delivers the last message. `new` delivers only new messages. `by_start_sequence` and `by_start_time` start from a specific point. [optional]
optStartSeq kotlin.Int Starting sequence number (used with deliver_policy `by_start_sequence`). [optional]
optStartTime java.time.OffsetDateTime Starting timestamp (used with deliver_policy `by_start_time`). [optional]
maxDeliver kotlin.Int Maximum delivery attempts before the message is dropped or sent to a dead letter subject (-1 for unlimited). [optional]
ackWait kotlin.String Time to wait for acknowledgment before redelivery (e.g., &quot;30s&quot;, &quot;5m&quot;). Defaults to &quot;30s&quot;. [optional]
replayPolicy inline Replay policy for historical messages. `instant` delivers as fast as possible. `original` preserves original timing gaps. [optional]
maxAckPending kotlin.Int Maximum number of unacknowledged messages before delivery pauses. [optional]
description kotlin.String Optional human-readable description. [optional]

Enum: ack_policy

Name Value
ackPolicy none, all, explicit

Enum: deliver_policy

Name Value
deliverPolicy all, last, new, by_start_sequence, by_start_time, last_per_subject

Enum: replay_policy

Name Value
replayPolicy instant, original