Closed joeblew99 closed 8 years ago
This is still very much a work in progress with a lot to be defined, for the moment, the only thing implemented is long polling while doing single message scans, so the connection blocks until there is a new message, this is the example that you can find on the readme.
Then, the streamming API will probably be HTTP2 only, but I have yet to make a proof of concept, with HTTP2 we could leverage PUSH_PROMISE, or do bidirectional streaming as explained here: https://github.com/golang/go/issues/13444
PUSH_PROMISE looks nice https://github.com/golang/go/issues/13443
you might want to see what go-micro team is going in their code, as it relates to this. https://github.com/micro/go-micro
https://github.com/micro/go-plugins/tree/master/broker Other brokers like yours here
Nice, I'll take a look, thanks.
if its 100% based how does notification work ? web sockets ?