Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add idle timeout support for logreader based sources #355

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bazsi
Copy link
Member

@bazsi bazsi commented Oct 22, 2024

No description provided.

Instead of implementing timeout support in derived LogProtoClient classes,
just do it once in the prepare() wrapper.

This patch also renames "timeout" to "idle_timeout" to better reflect
its use.

Signed-off-by: Balazs Scheidler <[email protected]>
Idle timeout is only considered when we are actually reading from the peer,
in case we are suspended because of flow-control, we ignore the
idle timeout.

Signed-off-by: Balazs Scheidler <[email protected]>
Copy link
Contributor

This Pull Request introduces config grammar changes

axoflow/8d8eab09d02508dfeddf1cdbc8fae5d783ef3489 -> bazsi/add-idle-timeout-support-for-logreader-based-sources

--- a/source
+++ b/source

 fifo(
+    idle-timeout(<positive-integer>)
 )

 file(
+    idle-timeout(<positive-integer>)
 )

 network(
+    idle-timeout(<positive-integer>)
 )

 pipe(
+    idle-timeout(<positive-integer>)
 )

 program(
+    idle-timeout(<positive-integer>)
 )

 stdin(
+    idle-timeout(<positive-integer>)
 )

 syslog(
+    idle-timeout(<positive-integer>)
 )

 systemd-syslog(
+    idle-timeout(<positive-integer>)
 )

 tcp(
+    idle-timeout(<positive-integer>)
 )

 tcp6(
+    idle-timeout(<positive-integer>)
 )

 udp(
+    idle-timeout(<positive-integer>)
 )

 udp6(
+    idle-timeout(<positive-integer>)
 )

 unix-dgram(
+    idle-timeout(<positive-integer>)
 )

 unix-stream(
+    idle-timeout(<positive-integer>)
 )

 wildcard-file(
+    idle-timeout(<positive-integer>)
 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant