Giter Club home page Giter Club logo

Comments (10)

angry-elf avatar angry-elf commented on August 27, 2024

I just realized, this will need more commands, not just "get".
There are need to implement "finish", "req" and "touch" commands too.

from nsq.

jehiah avatar jehiah commented on August 27, 2024

@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.

angry-elf avatar angry-elf commented on August 27, 2024

Ok, I'll try it, but in python, because I don't know Go.

from nsq.

mreiferson avatar mreiferson commented on August 27, 2024

@angry-elf did you have any luck here? Is it ok if I close this?

from nsq.

angry-elf avatar angry-elf commented on August 27, 2024

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.

mreiferson avatar mreiferson commented on August 27, 2024

No worries, I'll leave it open.

Let me know if you have any other questions.

from nsq.

mreiferson avatar mreiferson commented on August 27, 2024

@angry-elf doing a spring issue cleaning.

re-open if you have any issues implementing this on your side.

Thanks!

from nsq.

heipei avatar heipei commented on August 27, 2024

Is there anyone still working on this or similar approaches?

from nsq.

Ethreal avatar Ethreal commented on August 27, 2024

Can we have an update for this?

from nsq.

ploxiln avatar ploxiln commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.