RoundRobinDestinationConnectionStrategy with connectionTTL #1023
-
Hi, We have configured RoundRobinDestinationConnectionStrategy as connection strategery for LogstashTcpSocketAppender. However, the observation is that if the connection is idle for certain duration (e.g. 30 minutes) then there is TCP_RESET in response to the event. Due to this, the log is not received to LogTransformer component, and it results in loss of log entry. Is it important to configure the keepAlive when configured connectionTTL? As per the source, the connectionTTL(close and reopening connection) is done AFTER the event is sent. i.e. If there is no event sent, then there is not re-connection happening hence the connection may be reset. Please suggest if configuring keepAlive along with RoundRobinDestinationConnectionStrategy+connectionTTL is supported or not. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, set the keepAliveDuration to prevent the idle timeouts from occurring. |
Beta Was this translation helpful? Give feedback.
Yes, set the keepAliveDuration to prevent the idle timeouts from occurring.