{"action":"created","issue":{"url":"https://api.github.com/repos/rollbar/rollbar-java/issues/30","repository_url":"https://api.github.com/repos/rollbar/rollbar-java","labels_url":"https://api.github.com/repos/rollbar/rollbar-java/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/rollbar/rollbar-java/issues/30/comments","events_url":"https://api.github.com/repos/rollbar/rollbar-java/issues/30/events","html_url":"https://github.com/rollbar/rollbar-java/issues/30","id":164230478,"number":30,"title":"Batch payload sending","user":{"login":"latos","id":729383,"avatar_url":"https://avatars.githubusercontent.com/u/729383?v=3","gravatar_id":"","url":"https://api.github.com/users/latos","html_url":"https://github.com/latos","followers_url":"https://api.github.com/users/latos/followers","following_url":"https://api.github.com/users/latos/following{/other_user}","gists_url":"https://api.github.com/users/latos/gists{/gist_id}","starred_url":"https://api.github.com/users/latos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latos/subscriptions","organizations_url":"https://api.github.com/users/latos/orgs","repos_url":"https://api.github.com/users/latos/repos","events_url":"https://api.github.com/users/latos/events{/privacy}","received_events_url":"https://api.github.com/users/latos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T05:08:49Z","updated_at":"2016-12-12T15:02:02Z","closed_at":null,"body":"Payload sending is currently not batched.  Every event is sent as a separate http request, with a fresh connection.  This seems quite gratuitous, and limits the number of messages we feel comfortable sending.\n\nCould this be changed to batch multiple events into a single request?  E.g. a background sender on a thread, firing off a fixed number of requests at a time, with potentially many log messages being enqueued and sent in one go.\n\nFWIW this is how Logentries and other log client jars do it.\n"},"comment":{"url":"https://api.github.com/repos/rollbar/rollbar-java/issues/comments/266452825","html_url":"https://github.com/rollbar/rollbar-java/issues/30#issuecomment-266452825","issue_url":"https://api.github.com/repos/rollbar/rollbar-java/issues/30","id":266452825,"user":{"login":"proshin-roman","id":3031372,"avatar_url":"https://avatars.githubusercontent.com/u/3031372?v=3","gravatar_id":"","url":"https://api.github.com/users/proshin-roman","html_url":"https://github.com/proshin-roman","followers_url":"https://api.github.com/users/proshin-roman/followers","following_url":"https://api.github.com/users/proshin-roman/following{/other_user}","gists_url":"https://api.github.com/users/proshin-roman/gists{/gist_id}","starred_url":"https://api.github.com/users/proshin-roman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proshin-roman/subscriptions","organizations_url":"https://api.github.com/users/proshin-roman/orgs","repos_url":"https://api.github.com/users/proshin-roman/repos","events_url":"https://api.github.com/users/proshin-roman/events{/privacy}","received_events_url":"https://api.github.com/users/proshin-roman/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T15:02:01Z","updated_at":"2016-12-12T15:02:01Z","body":"I faced the same issue: each call to the `log` method produces a new HTTP connections. Finally a lot of server's threads have been blocked by the Rollbar appender. I think this is \"must have\" feature for the appender - use a pool of connections and send batch payloads. As well it would be nice to have async sending of entries."}}
{"actor":{"display_login":"proshin-roman"}}