Michael Bridgen

Results 288 comments of Michael Bridgen

There's some non-determinism working against you here. Specifically, the server hasn't necessarily finished closing the first sub socket by the time you're opening the second. This means two things: it...

By the way, the SUB socket uses 'exclusive' to avoid (by means of loudly exploding) the situation in which you have two or more live sockets using the same subscription...

(NB I've taken "resume*" onto its own branch for the time being -- I wasn't very happy with the implementation or semantics, and it might interact poorly with other options....

Yes, that would be complementary. Magic strings and magic properties are of an ilk in JavaScript, but it does feel nicer, I agree.

Hello, Do you mean "how do I pop (get) messages from a queue"? If so, you want a `PULL` socket, and to connect with `socket.connect(queueName)`. If you mean "how do...

Thinking aloud: is `Socket#destroy()` appropriate for this?

> Among other things this would delete the appropriate resources (ifUnused). Unfortunately this won't work, for a couple of reasons. Firstly, AMQP is stupid (who knew?): ifUnused will cause the...

> Among other things this would delete the appropriate resources (ifUnused). I can't think of a way to make sure exchanges are garbage collected.

> One solution would be to [...] and extend https://github.com/phoban01/cue-flux-controller with support for Timoni's instances, > Another solution would be to create a timoni-controller from scratch. The deciding factor might...

Thanks for logging this, and for the concise explanation of what you're trying to do ⭐ We'll have a look into it.