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

Re-open connection on transmission failures #23

Merged
merged 2 commits into from
Sep 14, 2023
Merged

Re-open connection on transmission failures #23

merged 2 commits into from
Sep 14, 2023

Commits on Sep 13, 2023

  1. Tidy up

    huntc committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    39a2e59 View commit details
    Browse the repository at this point in the history
  2. Re-open connection on transmission failures

    The file descriptor exhaustion issue appeared to be caused by the producer failing when transmitting, and then not attempting to reconnect. Consequently, another subscription to the commit log was made and failed rapidly, and didn't provide enough time for the last one to clean up its resources. This rapid failure loop was not recovering either.
    
    Another, albeit separate error, was that a pending handler failure wouldn't cause a new source to be made. This was an oversight.
    
    I am no longer able to see the file descriptor exhaustion after many connects/re-starts of the JVM service having posted UDP observations.
    huntc committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    ee961e0 View commit details
    Browse the repository at this point in the history