mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #278] [BUG] Enqueue message from NodeJS #109
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @acgfbr on GitHub (Jun 8, 2021).
Original GitHub issue: https://github.com/hibiken/asynq/issues/278
Originally assigned to: @hibiken on GitHub.
Describe the bug
My system enqueue all of messages in nodejs, just route to micro service enqueuer, example:
i have multi queue system in sqs, php and im trying to rollout all of this systems to go, but i want to enqueue in node to sqs and golang
I'm queuing a payload from nodejs and asynq can't remove the message
To Reproduce
Steps to reproduce the behavior (Code snippets if applicable):
NodeJS code

Payload in redis by NodeJS
Payload in redis by Golang asynq enqueue
The golang message enqueued by go proccess normally, nodejs message not removed from queue

Message stuck:

The payload as 100% matching, what can i be doing wrong?
Can u help me ?
My go code from server:

Job:

@crossworth commented on GitHub (Jun 8, 2021):
Hi, maybe this is related to this: https://github.com/hibiken/asynq/issues/109#issuecomment-796809596
Which should be fixed when the API uses a byte slice as payload (https://github.com/hibiken/asynq/pull/253).
@acgfbr commented on GitHub (Jun 8, 2021):
Oh great, i change the order of json and now working, thanks man!
