fluent / fluent/fluent-logger-java

Add Support For Unix Domain Sockets

オープン
#98 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
210
フォーク
86
PR マージ指標
30日以内にマージされた PR はありません

説明

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).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reading the getLogger() entry point and tracing how the current (host, port) inet address is handled. Look for existing tests around logger targets; done means a SocketAddress can represent a Unix domain socket and messages can be sent to it, with coverage for the new path.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
networking
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。