jenkinsci / jenkinsci/syslog-java-client

Provide option to not flush TCPSender socket on every message

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
91
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Flushing stream buffers when using the TCPSender is the only way to ensure data is not lost if the socket to the syslog server becomes invalid (eg. syslog server reboots) after the syslog client is instantiated.

Flushing "onSend" does have a performance penalty though, and in some cases end-users may be willing to do without that safety in return for greater performance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.