Skip to content

Commit d9e895f

Browse files
Merge pull request #287277 from EldertGrootenboer/patch-5
Update duplicate-detection.md to
2 parents b4c63c6 + 905104f commit d9e895f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/service-bus-messaging/duplicate-detection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The `MessageId` can always be some GUID, but anchoring the identifier to the bus
2929
>- When **partitioning** is **enabled**, `MessageId+PartitionKey` is used to determine uniqueness. When sessions are enabled, partition key and session ID must be the same.
3030
>- When **partitioning** is **disabled** (default), only `MessageId` is used to determine uniqueness.
3131
>- For information about `SessionId`, `PartitionKey`, and `MessageId`, see [Use of partition keys](service-bus-partitioning.md#use-of-partition-keys).
32+
>- When using **partitioning** and sending **batches** of messages, you should ensure that they do not contain any partition identifying properties. Since deduplication relies on explicitly setting message IDs to determine uniqueness, it is not recommended to use deduplication and batching together with partitioning.
3233
3334
> [!NOTE]
3435
> Scheduled messages are included in duplicate detection. Therefore, if you send a scheduled message and then send a duplicate non-scheduled message, the non-scheduled message gets dropped. Similarly, if you send a non-scheduled message and then a duplicate scheduled message, the scheduled message is dropped.

0 commit comments

Comments
 (0)