Hello.
Any HTTP client can talk to etcdv2 by HTTP. And you can talk to etcd
v2 with HTTP upon cosocket on OpenResty. A trick is you can create a
timer and send a HTTP request then wait something happened like read
timeout、closed、etcd response. when you got the events, you can decide
to how to deal with. if it's read timeout, you can restart the timer
or it's closed you can rewatch another etcdv2 instance, it's etcd
response you can restart the timer with the new index.
PS: you should carefully set the read timeout and the watch index.
> --
> You received this message because you are subscribed to the Google Groups
> "openresty-en" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
openresty-en...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.