Skip to content

Commit 6f2d4c0

Browse files
committed
broker-developer-config-options
1 parent f86d17b commit 6f2d4c0

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

docs/eventing/brokers/broker-developer-config-options.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,16 @@ spec:
3030
backoffPolicy: exponential
3131
backoffDelay: "2007-03-01T13:00:00Z/P1Y2M10DT2H30M"
3232
```
33-
3433
- You can specify any valid `name` for your broker. Using `default` will create a broker named `default`.
3534
- The `namespace` must be an existing namespace in your cluster. Using `default` will create the broker in the `default` namespace.
3635

36+
### Event Delivery Options
37+
- You can use `dead-letter sink` for error handling and auditing of undelivered messages. Specify Kubernetes object reference where undelivered messages will be sent using `ref` and an optional URI to route undelivered messages using `uri`.
38+
- You can set the `Backoff policies` to define the delay strategy between retry attempts. It can be `exponantial` or `linear`.
39+
- You can set the `Backoff delay ` to specify the initial delay before retrying, using the ISO 8601 duration format.
40+
- You can specify the number of retry attempts before sending the event to the dead-letter sink using the `retry` configuration.
41+
- `spec.delivery` is used to configure event delivery options. Event delivery options specify what happens to an event that fails to be delivered to an event sink. For more information, see the documentation on [Event delivery](../event-delivery.md).
42+
3743
### Advance broroker class options
3844
When a Broker is created without a specified `eventing.knative.dev/broker.class` annotation, the default `MTChannelBasedBroker` Broker class is used, as specified by default in the `config-br-defaults` ConfigMap.
3945

@@ -70,25 +76,3 @@ In case you have multiple Broker classes installed in your cluster and want to u
7076
```
7177

7278
For further information about configuring a default Broker class cluster wide or on a per namespace basis, check the [Administrator configuration options](../configuration/broker-configuration.md#configuring-the-broker-class).
73-
74-
75-
### Event Delivery Options
76-
- You can sets up a dead-letter sink, retry policies, and a backoff delay for event delivery.
77-
- `spec.delivery` is used to configure event delivery options. Event delivery options specify what happens to an event that fails to be delivered to an event sink. For more information, see the documentation on [Event delivery](../event-delivery.md).
78-
79-
### Monitoring to Status Options
80-
You can use the status of Broker to monitor its status. Here is example:
81-
```yaml
82-
status:
83-
observedGeneration: 1
84-
conditions:
85-
- type: Ready
86-
status: "True"
87-
reason: "BrokerReady"
88-
message: "Broker is ready"
89-
address:
90-
url:
91-
92-
```
93-
94-

0 commit comments

Comments
 (0)