fluent / fluent/fluent-logger-java

Add Support For Unix Domain Sockets

Aperta
#98 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
210
Fork
86
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It would be nice if this logger would support Unix Domain Sockets as the target instead of only (host, port) inet addresses. `UnixDomainSocketAddress` was added in Java 16. However, this library need not depend on that if `SocketAddress` can be supplied to `getLogger()` which has been around since 1.4.

This feature would be particularly useful for container environments such as Docker because some not very nice tricks are required for a container to connect to a host socket. Note that Unix domain sockets are supported by [Fluentd](https://docs.fluentd.org/input/unix) and [Fluent-Bit](https://docs.fluentbit.io/manual/pipeline/inputs/forward).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.