[GH-ISSUE #105] [FEATURE REQUEST] Client in other languages #30

Open
opened 2026-03-02 05:18:03 +03:00 by kerem · 16 comments
Owner

Originally created by @hibiken on GitHub (Mar 7, 2020).
Original GitHub issue: https://github.com/hibiken/asynq/issues/105

Originally assigned to: @hibiken on GitHub.

Is your feature request related to a problem? Please describe.
We could offer client libraries in other languages. Web applications written in another language can use the client library to enqueue tasks.

Describe the solution you'd like
Add a client library for

  • Python
  • Ruby
  • Node.js
  • Java
  • PHP
  • Rust
  • Elixir

Additional context
These client libraries should be its own repo.

Originally created by @hibiken on GitHub (Mar 7, 2020). Original GitHub issue: https://github.com/hibiken/asynq/issues/105 Originally assigned to: @hibiken on GitHub. **Is your feature request related to a problem? Please describe.** We could offer client libraries in other languages. Web applications written in another language can use the client library to enqueue tasks. **Describe the solution you'd like** Add a client library for - [ ] Python - [ ] Ruby - [ ] Node.js - [ ] Java - [ ] PHP - [ ] Rust - [ ] Elixir **Additional context** These client libraries should be its own repo.
Author
Owner

@ianldgs commented on GitHub (Sep 6, 2020):

Rust would also be great

<!-- gh-comment-id:687869916 --> @ianldgs commented on GitHub (Sep 6, 2020): Rust would also be great
Author
Owner

@hibiken commented on GitHub (Sep 6, 2020):

@ianldgs Definitely, added Rust to the list 👍

<!-- gh-comment-id:687920623 --> @hibiken commented on GitHub (Sep 6, 2020): @ianldgs Definitely, added Rust to the list 👍
Author
Owner

@dineshgowda24 commented on GitHub (Dec 3, 2020):

Rust 💯

<!-- gh-comment-id:737996717 --> @dineshgowda24 commented on GitHub (Dec 3, 2020): Rust 💯
Author
Owner

@mvcatsifma commented on GitHub (Jun 14, 2021):

Java

<!-- gh-comment-id:860586785 --> @mvcatsifma commented on GitHub (Jun 14, 2021): Java
Author
Owner

@anxiaowen commented on GitHub (Jul 7, 2021):

php

<!-- gh-comment-id:875502989 --> @anxiaowen commented on GitHub (Jul 7, 2021): php
Author
Owner

@newlife commented on GitHub (Aug 24, 2021):

I am working on a client library for python https://github.com/newlife/asynq-py

For now ,It works fine for me ,I just need send task ran immediately, which is complete.

Next , I will finish next part which task to be processed in the future, shown in the example .

If there is any feature I missed, let me know ,I will add if I can

Wish this client can make some help

<!-- gh-comment-id:904721990 --> @newlife commented on GitHub (Aug 24, 2021): I am working on a client library for python https://github.com/newlife/asynq-py 。 For now ,It works fine for me ,I just need send task ran immediately, which is complete. Next , I will finish next part which task to be processed in the future, shown in the example . If there is any feature I missed, let me know ,I will add if I can Wish this client can make some help
Author
Owner

@ianprogrammer commented on GitHub (Aug 29, 2021):

Is there anyone working in a rust client? this is something that I would like to work on

<!-- gh-comment-id:907750934 --> @ianprogrammer commented on GitHub (Aug 29, 2021): Is there anyone working in a rust client? this is something that I would like to work on
Author
Owner

@hibiken commented on GitHub (Aug 30, 2021):

@ianprogrammer Please let us know if you end up creating a client library in Rust. We'll make sure to list the client libraries in other languages in the README.

Also, please feel free to ping me here or open a discussion if you have questions on the current implementation in Go client 👍

<!-- gh-comment-id:907971540 --> @hibiken commented on GitHub (Aug 30, 2021): @ianprogrammer Please let us know if you end up creating a client library in Rust. We'll make sure to list the client libraries in other languages in the README. Also, please feel free to ping me here or open a [discussion](https://github.com/hibiken/asynq/discussions) if you have questions on the current implementation in Go client 👍
Author
Owner

@a5r0n commented on GitHub (Apr 27, 2022):

the right way to this is maybe with API server, clients in other languages is simple http client...

<!-- gh-comment-id:1111095360 --> @a5r0n commented on GitHub (Apr 27, 2022): the right way to this is maybe with API server, clients in other languages is simple http client...
Author
Owner

@hibiken commented on GitHub (Apr 28, 2022):

@a5r0n thanks for the comment! It's a good point, we could add a HTTP/gRPC service that accepts requests and enqueues the tasks. That service can also be responsible for pushing the task to Handler services via HTTP/gRPC also :)
I think we can explore this as an extension to the library 👍 (i.e. implementation should live in either separate repo, or under /x directory)

<!-- gh-comment-id:1112163293 --> @hibiken commented on GitHub (Apr 28, 2022): @a5r0n thanks for the comment! It's a good point, we could add a HTTP/gRPC service that accepts requests and enqueues the tasks. That service can also be responsible for pushing the task to Handler services via HTTP/gRPC also :) I think we can explore this as an extension to the library 👍 (i.e. implementation should live in either separate repo, or under `/x` directory)
Author
Owner

@yxlimo commented on GitHub (May 9, 2022):

i am planning to write a protoc-plugin so i can reuse grpc client interface to enqueue tasks.

please let me know if u have similar idea. may be i can do some contribution and avoid doing things repeatedly.

<!-- gh-comment-id:1120830889 --> @yxlimo commented on GitHub (May 9, 2022): i am planning to write a protoc-plugin so i can reuse grpc client interface to enqueue tasks. please let me know if u have similar idea. may be i can do some contribution and avoid doing things repeatedly.
Author
Owner

@TongChia commented on GitHub (May 8, 2023):

the right way to this is maybe with API server, clients in other languages is simple http client...

So, should other lang clients know the host address and port? and... need some gateways for discovery and load balancing?
@a5r0n @hibiken

<!-- gh-comment-id:1537662105 --> @TongChia commented on GitHub (May 8, 2023): > the right way to this is maybe with API server, clients in other languages is simple http client... So, should other lang clients know the host address and port? and... need some gateways for discovery and load balancing? @a5r0n @hibiken
Author
Owner

@g41797 commented on GitHub (Dec 30, 2023):

client for TBD
did you mean hosting process for asynq?
could you please clarify

i saw some proto files, but without service definition
looks asynq gRPC server will be good enough - grpc supports lot of languages

some weeks ago i finished similar server and looking for new open source project

<!-- gh-comment-id:1872531850 --> @g41797 commented on GitHub (Dec 30, 2023): client for TBD did you mean hosting process for asynq? could you please clarify i saw some proto files, but without _**service**_ definition looks asynq gRPC server will be good enough - grpc supports lot of languages some weeks ago i finished [similar server](https://github.com/g41797/memphisgrpc) and looking for new open source project
Author
Owner

@mittalyashu commented on GitHub (May 5, 2025):

I'm working on client library for Node.js

https://github.com/codecarrotlabs/asynq-node

<!-- gh-comment-id:2850211174 --> @mittalyashu commented on GitHub (May 5, 2025): I'm working on client library for Node.js https://github.com/codecarrotlabs/asynq-node
Author
Owner

@yangguangwuwu commented on GitHub (Oct 4, 2025):

php

I'm working on client library for php https://github.com/wuwuseo/hibiken-asynq-client

<!-- gh-comment-id:3367965751 --> @yangguangwuwu commented on GitHub (Oct 4, 2025): > php I'm working on client library for php https://github.com/wuwuseo/hibiken-asynq-client
Author
Owner

@cn-kali-team commented on GitHub (Oct 8, 2025):

rust, more testing is needed
https://github.com/emo-crab/asynq

<!-- gh-comment-id:3381277526 --> @cn-kali-team commented on GitHub (Oct 8, 2025): rust, more testing is needed https://github.com/emo-crab/asynq
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#30
No description provided.