{"action":"created","issue":{"url":"https://api.github.com/repos/fluent/fluent-bit/issues/34","labels_url":"https://api.github.com/repos/fluent/fluent-bit/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/fluent/fluent-bit/issues/34/comments","events_url":"https://api.github.com/repos/fluent/fluent-bit/issues/34/events","html_url":"https://github.com/fluent/fluent-bit/pull/34","id":107386332,"number":34,"title":"Reuse the socket fd created in pre run and reconnect to fluentd if disconnected","user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-20T10:35:26Z","updated_at":"2015-09-22T01:51:52Z","closed_at":"2015-09-21T03:10:17Z","pull_request":{"url":"https://api.github.com/repos/fluent/fluent-bit/pulls/34","html_url":"https://github.com/fluent/fluent-bit/pull/34","diff_url":"https://github.com/fluent/fluent-bit/pull/34.diff","patch_url":"https://github.com/fluent/fluent-bit/pull/34.patch"},"body":"Looks like the fluentd output plugin connects to fluentd every time it want to flush data. Since we already get the socket fd in pre run, may we reuse it and get connected if disconnected from fluentd?\r\n\r\nIf this direction is not correct, please let me know and I will close this pr. Thanks."},"comment":{"url":"https://api.github.com/repos/fluent/fluent-bit/issues/comments/142157590","html_url":"https://github.com/fluent/fluent-bit/pull/34#issuecomment-142157590","issue_url":"https://api.github.com/repos/fluent/fluent-bit/issues/34","id":142157590,"user":{"login":"edsiper","id":369718,"avatar_url":"https://avatars.githubusercontent.com/u/369718?v=3","gravatar_id":"","url":"https://api.github.com/users/edsiper","html_url":"https://github.com/edsiper","followers_url":"https://api.github.com/users/edsiper/followers","following_url":"https://api.github.com/users/edsiper/following{/other_user}","gists_url":"https://api.github.com/users/edsiper/gists{/gist_id}","starred_url":"https://api.github.com/users/edsiper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edsiper/subscriptions","organizations_url":"https://api.github.com/users/edsiper/orgs","repos_url":"https://api.github.com/users/edsiper/repos","events_url":"https://api.github.com/users/edsiper/events{/privacy}","received_events_url":"https://api.github.com/users/edsiper/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T01:51:52Z","updated_at":"2015-09-22T01:51:52Z","body":"FYI: new interface merged."}}