Yes, Queues does not (by design) deduplicate. That’s often the wrong assumption to make on behalf of
Yes, Queues does not (by design) deduplicate. That’s often the wrong assumption to make on behalf of users

QueueMessageOperationsByMinute from the example (https://developers.cloudflare.com/queues/reference/metrics/), with these variables:

accountTag as defined there.wrangler queues list today (we need to add it to the dash)startDate?
nodejs_compat.env.QUEUE.send(...) is called but the consumer never receives the message. No errors. If there isn't a known limit then I'll pair my case down to the most minimal case, but wanted to check here first.{
"data": {
"viewer": {
"accounts": [
{
"queueMessageOperationsAdaptiveGroups": []
}
]
}
},
"errors": null
}QueueMessageOperationsByMinute{
"accountTag": "xxx",
"queueId": "dev-event-batch-queue",
"datetimeStart": "2024-01-24T00:00:00Z",
"datetimeEnd": "2024-01-24T23:59:00Z"
}query {
viewer {
accounts(filter: { accountTag: $accountId }) {
queueMessageOperationsAdaptiveGroups(
limit: 10000
filter: { date_geq: $startDate, date_leq: $endDate }
orderBy: [date_DESC]
) {
count
sum {
bytes
}
dimensions {
queueId
date
}
}
}
}
}{
"data": {
"viewer": {
"accounts": [
{
"queueMessageOperationsAdaptiveGroups": [
{
"count": 2446,
"dimensions": {
"date": "2024-01-24",
"queueId": "e4d7d7e594bd48bbbe49703f72e9c92a"
},
"sum": {
"bytes": 264168
}
}
]
}
]
}
},
"errors": null
}accountTagwrangler queues liststartDatenodejs_compatenv.QUEUE.send(...)const v8 = require('v8');
// Serialize an object into a buffer using v8
function serializeWithV8(obj) {
return v8.serialize(obj);
}
// Convert the Buffer to a byte array (Uint8Array)
const byteArray = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
// Now you can send the byteArray over the network