Closed quanweiZhou closed 1 year ago
A new version was released 3 days ago, I believe that Unix socket support is in that release. Could this be looked at?
Yes, once we merge #318, it should be pretty easy to add support for Unix sockets. I've been out of the office for the last four days, so I haven't had the time to take care of that until today.
Cool! Glad to know it's hopefully getting implemented soon.
@hawkw Currently the tonic
0.7 already supports UDS but the console
doesn't seem to support UDS yet, am I missing something?
Any updates? #318 was merged.
I haven't had the time to work on this, but now that Tonic 0.7 is out, it should certainly be possible and (I imagine) fairly straightforward. I'd happily merge a PR if anyone is interested in working on one.
The console uses
tonic
as both the gRPC server (in theconsole-subscriber
crate) and as the gRPC client (in thetokio-console
command-line application). It looks like a PR to add Unix socket support intonic
was merged recently (https://github.com/hyperium/tonic/pull/861), but I don't believe it has been released yet. Once that PR is part of an upstream release oftonic
, it should be pretty straightforward to add UDS support to the console.