The one place the Milvus transport is opened.
Every dial goes through dial! so that a refused connection names the
address it was refused by. A generic work queue upstream runs an opaque
thunk and cannot learn the endpoint, so the endpoint is attached here, at
the only layer that holds it.
The one place the Milvus transport is opened. Every dial goes through `dial!` so that a refused connection names the address it was refused by. A generic work queue upstream runs an opaque thunk and cannot learn the endpoint, so the endpoint is attached here, at the only layer that holds it.
(dial! cfg)Open the Milvus transport for CFG. Returns what milvus-clj.api/connect!
returns.
Throws ex-info naming the endpoint, with ex-data
{:type :milvus/dial-failed :endpoint "host:port" :host h :port p} and the
transport throwable as its CAUSE, so a report built from a cause chain
carries the address without being told it.
Open the Milvus transport for CFG. Returns what `milvus-clj.api/connect!`
returns.
Throws `ex-info` naming the endpoint, with ex-data
{:type :milvus/dial-failed :endpoint "host:port" :host h :port p} and the
transport throwable as its CAUSE, so a report built from a cause chain
carries the address without being told it.(endpoint-str {:keys [host port]})"host:port" for CFG.
"host:port" for CFG.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |