upstash / qstash-js

Message queue for serverless
https://docs.upstash.com/qstash
MIT License
133 stars 11 forks source link

Add the messageId in the header / query ? #34

Open raskyer opened 1 year ago

raskyer commented 1 year ago

Hello, It's not urgent or not required but I would like to know if it's possible to add the messageId (from qstash) in the callback endpoint headers or query ? It would be useful to have internal check. Thanks

chronark commented 1 year ago

Sounds useful, taking a note

privet-fun commented 11 months ago

I'd suggest passing both qstash messageId and scheduleId. In my case I need to cancel scheduled task from inside of running Cloudflare worker.

kristianeboe commented 8 months ago

I think it's currently in the headers as 'upstash-message-id': 'msg_62fe6NcsymyTou7kzwjtQFLzy8YA',