-
Notifications
You must be signed in to change notification settings - Fork 215
/
subjectAnnouncement.yml
44 lines (44 loc) · 1.68 KB
/
subjectAnnouncement.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright (c) 2021 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0
#
# SPDX-License-Identifier: EPL-2.0
type: object
description: Settings for announcements to be made about the subject.
properties:
beforeExpiry:
type: string
description: |-
The duration before expiry when an announcement should be made.
Must be a positive integer followed by one of `h` (hour), `m` (minute) or `s` (second).
whenDeleted:
type: boolean
description: Whether an announcement should be made when this subject is deleted.
requestedAcks:
type: object
description: Settings to enable at-least-once delivery for policy announcements.
properties:
labels:
type: array
description: Acknowledgement labels to request when an announcement is published.
items:
type: string
timeout:
type: string
description: How long to wait for requested announcements before retrying publication of an announcement.
example:
labels: ["my-connection-id:my-issued-acknowledgement"]
timeout: "5s"
randomizationInterval:
type: string
default: "5m"
description: Interval in which the announcement can be sent earlier in effort to prevent announcement peaks. If omitted, the default value will be applied. If set to minimum, no randomization will be applied.
example:
beforeExpiry: "5m"
whenDeleted: true
randomizationInterval: "5m"