We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73509ca commit af3d770Copy full SHA for af3d770
1 file changed
pkg/chipingress/types.go
@@ -8,8 +8,9 @@ import (
8
)
9
10
// IdempotencyKeyAttr is the CloudEvent extension attribute name for the per-event
11
-// idempotency key. Callers may pass this as a key in the attrKVs variadics to
12
-// supply their own key; when absent, the durable emitter defaults to sha256(body).
+// idempotency key. Pass it in the attributes map of NewEvent to have the key set
+// as a CloudEvent extension; it is also forwarded into CloudEventBatch.Idempotency
13
+// by the batch client for the server to use for deduplication.
14
const IdempotencyKeyAttr = "idempotencykey"
15
16
type (
0 commit comments