diff --git a/api/event-bus.html b/api/event-bus.html index 6a9ca3874e..0d73b6c7a8 100644 --- a/api/event-bus.html +++ b/api/event-bus.html @@ -630,7 +630,8 @@

JetStreamBus (Optional)

Optional configuration for the streams to be created in this JetStream service, if specified, it will be merged with the default configuration in controller-config. -It accepts a YAML format configuration, available fields include, “maxBytes”, “maxMsgs”, “maxAge” (e.g. 72h), “replicas” (1, 3, 5), “duplicates” (e.g. 5m), “retention” (e.g. RetentionPolicy (default) or InterestPolicy), “Discard” (e.g. DiscardOld (default) or DiscardNew).

+It accepts a YAML format configuration, available fields include, “maxBytes”, “maxMsgs”, “maxAge” (e.g. 72h), “replicas” (1, 3, 5), “duplicates” (e.g. 5m), +“retention” (e.g. RetentionPolicy (default) or InterestPolicy), “Discard” (e.g. DiscardOld (default) or DiscardNew).

diff --git a/api/event-bus.md b/api/event-bus.md index abc8a31abd..0a502f12b9 100644 --- a/api/event-bus.md +++ b/api/event-bus.md @@ -622,8 +622,9 @@ Optional configuration for the streams to be created in this JetStream service, if specified, it will be merged with the default configuration in controller-config. It accepts a YAML format configuration, available fields include, “maxBytes”, “maxMsgs”, “maxAge” (e.g. 72h), “replicas” -(1, 3, 5), “duplicates” (e.g. 5m), "retention" -(e.g. RetentionPolicy (default) or InterestPolicy), "Discard" (e.g. DiscardOld (default) or DiscardNew). +(1, 3, 5), “duplicates” (e.g. 5m), “retention” (e.g. RetentionPolicy +(default) or InterestPolicy), “Discard” (e.g. DiscardOld (default) or +DiscardNew).

diff --git a/pkg/apis/eventbus/v1alpha1/generated.proto b/pkg/apis/eventbus/v1alpha1/generated.proto index d05cb3d67a..e4458eb906 100644 --- a/pkg/apis/eventbus/v1alpha1/generated.proto +++ b/pkg/apis/eventbus/v1alpha1/generated.proto @@ -191,7 +191,8 @@ message JetStreamBus { repeated string startArgs = 17; // Optional configuration for the streams to be created in this JetStream service, if specified, it will be merged with the default configuration in controller-config. - // It accepts a YAML format configuration, available fields include, "maxBytes", "maxMsgs", "maxAge" (e.g. 72h), "replicas" (1, 3, 5), "duplicates" (e.g. 5m). + // It accepts a YAML format configuration, available fields include, "maxBytes", "maxMsgs", "maxAge" (e.g. 72h), "replicas" (1, 3, 5), "duplicates" (e.g. 5m), + // "retention" (e.g. RetentionPolicy (default) or InterestPolicy), "Discard" (e.g. DiscardOld (default) or DiscardNew). // +optional optional string streamConfig = 18; diff --git a/pkg/apis/eventbus/v1alpha1/openapi_generated.go b/pkg/apis/eventbus/v1alpha1/openapi_generated.go index e2427fb6d4..75c445e6bc 100644 --- a/pkg/apis/eventbus/v1alpha1/openapi_generated.go +++ b/pkg/apis/eventbus/v1alpha1/openapi_generated.go @@ -443,7 +443,7 @@ func schema_pkg_apis_eventbus_v1alpha1_JetStreamBus(ref common.ReferenceCallback }, "streamConfig": { SchemaProps: spec.SchemaProps{ - Description: "Optional configuration for the streams to be created in this JetStream service, if specified, it will be merged with the default configuration in controller-config. It accepts a YAML format configuration, available fields include, \"maxBytes\", \"maxMsgs\", \"maxAge\" (e.g. 72h), \"replicas\" (1, 3, 5), \"duplicates\" (e.g. 5m).", + Description: "Optional configuration for the streams to be created in this JetStream service, if specified, it will be merged with the default configuration in controller-config. It accepts a YAML format configuration, available fields include, \"maxBytes\", \"maxMsgs\", \"maxAge\" (e.g. 72h), \"replicas\" (1, 3, 5), \"duplicates\" (e.g. 5m), \"retention\" (e.g. RetentionPolicy (default) or InterestPolicy), \"Discard\" (e.g. DiscardOld (default) or DiscardNew).", Type: []string{"string"}, Format: "", },