Skip to content

Commit bfcff78

Browse files
committed
clarify confliciting rules
1 parent 283ffc3 commit bfcff78

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/content/docs/r2/buckets/event-notifications.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,5 @@ Queue consumers receive notifications as [Messages](/queues/configuration/javasc
232232
## Notes
233233

234234
- Queues [per-queue message throughput](/queues/platform/limits/) is currently 5,000 messages per second. If your workload produces more than 5,000 notifications per second, we recommend splitting notification rules across multiple queues.
235-
- Rules without prefix/suffix apply to all objects in the bucket. To add prefix/suffix to the existing event type, delete and create a new rule.
236-
- For the same queue, you can have same event type rules with different prefix/suffix configurations.
237-
- For the same queue and prefix/suffix, you cannot create rules with overlapping event types. Example: If a rule handles PutObject and DeleteObject events, another rule cannot include PutObject or CopyObject for the same queue and prefix/suffix configuration.
235+
- Rules without prefix/suffix apply to all objects in the bucket.
236+
- Overlapping or conflicting rules that could trigger multiple notifications for the same event are not allowed. For example, if you have an `object-create` (or `PutObject` action) rule without a prefix and suffix, then adding another `object-create` (or `PutObject` action) rule with a prefix like `images/` could trigger more than one notification for a single upload, which is invalid.

0 commit comments

Comments
 (0)