1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/broker
magodo 0baea58938 wait nats drain since it's asynchronous
1. nats subscription draining is removed, since it is asynchronous,
   and there is no reliable way to detect when it is finished.
   Remove this option to avoid confusion.
2. nats connection draining is kept, and use 2 callbacks to detect
   draining timeout (timeout is set via `nats.Options`) or finish.
3. Also honour options passed in `broker.Init()` (previously only
   `broker.New()` is honoured).
2019-08-07 17:58:45 +08:00
..
http add http handler option for broker 2018-11-18 20:40:43 +00:00
memory bunch of other ipv6 fixes 2019-07-18 08:59:53 +03:00
nats wait nats drain since it's asynchronous 2019-08-07 17:58:45 +08:00
broker.go Add back in broker address 2019-07-10 19:58:30 +01:00
common_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
http_broker_test.go Change Publication to Event 2019-07-07 12:44:09 +01:00
http_broker.go bunch of other ipv6 fixes 2019-07-18 08:59:53 +03:00
options.go Change context key to string 2019-05-29 10:58:41 +01:00