mirror of
https://github.com/nats-io/nats.go.git
synced 2025-09-26 20:41:41 +08:00
[ADDED] AllowMsgSchedules field to enable message scheduling in stream config (#1942)
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
This commit is contained in:

committed by
Piotr Piotrowski

parent
5e67170a31
commit
9726c6f3bc
@@ -208,6 +208,9 @@ type (
|
||||
// AllowAtomicPublish allows atomic batch publishing into the stream.
|
||||
AllowAtomicPublish bool `json:"allow_atomic,omitempty"`
|
||||
|
||||
// AllowMsgSchedules enables the scheduling of messages
|
||||
AllowMsgSchedules bool `json:"allow_msg_schedules,omitempty"`
|
||||
|
||||
// PersistMode allows to opt-in to different persistence mode settings.
|
||||
PersistMode PersistModeType `json:"persist_mode,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user