Comments (10)
I just realized, this will need more commands, not just "get".
There are need to implement "finish", "req" and "touch" commands too.
from nsq.
@angry-elf thanks for this proposal. Would you be interested in trying to write up an implementation that acts as a normal nsq client receiving messages and exposes a http server with the endpoints you are looking for to retrieve and acknowledge messages? You might be able to model such an implementation after some of the code under examples
if you chose to implement in Go.
from nsq.
Ok, I'll try it, but in python, because I don't know Go.
from nsq.
@angry-elf did you have any luck here? Is it ok if I close this?
from nsq.
Unfortunatelly, had no time even for update to current stable, nor for code
something :(
Close this ticket, I'll remember it and will return at better moment.
from nsq.
No worries, I'll leave it open.
Let me know if you have any other questions.
from nsq.
@angry-elf doing a spring issue cleaning.
re-open if you have any issues implementing this on your side.
Thanks!
from nsq.
Is there anyone still working on this or similar approaches?
from nsq.
Can we have an update for this?
from nsq.
You should either use a "proper" nsq client library (of which there are a few and they're all rather light-weight), or you should use such a library to write your own to-plain-http adapter that works the way you need it to work (handling "ready" updates and acknowledgements as is appropriate for your use case).
On old possibly-no-longer-working example: https://gist.github.com/ploxiln/47732ec45db40878d12de083a1828a00
from nsq.
Related Issues (20)
- About status of this project HOT 2
- NSQd diskqueue not recovered on restart HOT 4
- *: Structured logging in JSON HOT 7
- Allow only a single client per channel per topic HOT 3
- topic Message to channel HOT 4
- nsqd: Support a custom CA for communicating with nsqauth HOT 4
- nsqadmin node view fails when Graphite is enabled
- Refresh Docker image HOT 5
- Docker build broken by `nsswitch.conf` check
- Can't run nsqio/nsq:v1.3.0 HOT 3
- 消费者 消费 延迟 HOT 1
- nsqd health check duplicate HOT 1
- Is there a way to peek all messages in queued? HOT 1
- chore: cleanup error handling code for Accept HOT 1
- nsqd: Use Klaus Post's compression libraries HOT 5
- nsqd: Authentication secret leaks if request fails against the nsq auth server HOT 4
- Consumption order error
- NSQ remote hosting issue HOT 1
- Having a lot of DISQUEUE errors since upgrading from 1.1.0 to 1.3.0 HOT 1
- There is an error in the statistics information
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsq.