Webador/SlmQueueSqs

Metadata not kept on pop() for job

juriansluiman opened this issue · 4 comments

Haaa... I see... any metadata you may add when creating the job is not preserved. I see. But one question: what kind of "metadata" would you like to preserve when popping the job? If you want to transfer data, can't you use the content instead? I think metadata is only data that is added by the queue system (like id, receipt handle, any queue specific variables...) ?

I was using metadata for counting how many retries the job has had: Webador/SlmQueueBeanstalkd#26 (comment)

Personally metadata felt more the appropriate place than content.

Addressed by #16