armeria icon indicating copy to clipboard operation
armeria copied to clipboard

UNIX domain socket support

Open trustin opened this issue 6 years ago • 4 comments

From @huydx

I have a use case which uses nginx as a sidecar proxy and it may be better to use domain sockets instead of network sockets.

trustin avatar Jun 13 '19 05:06 trustin

I do have a similar use case! It should be feasible to do as Netty fully supports this.

max904-github avatar Aug 12 '20 10:08 max904-github

Yeah, would be nice to have this feature to work nicely with sidecars such as Envoy, Linkerd, nginx, etc.

trustin avatar Aug 12 '20 12:08 trustin

Any news on this?

For now, for my purposes, I've written a proxy server listening on the domain socket transferring everything to the Armeria port (based off the netty proxy server example: https://netty.io/4.1/xref/io/netty/example/proxy/package-summary.html).

Works, but obviously it's not ideal to have an extra step there.

chris-ryan-square avatar Mar 07 '21 22:03 chris-ryan-square

Sorry for not following up on this issue yet. Still need to find some time for implementing this.

trustin avatar Apr 06 '22 14:04 trustin

Thanks to @trustin, it is fixed by #4846.

ikhoon avatar Jun 12 '23 12:06 ikhoon