{"action":"closed","issue":{"url":"https://api.github.com/repos/zalando-incubator/fahrschein/issues/119","repository_url":"https://api.github.com/repos/zalando-incubator/fahrschein","labels_url":"https://api.github.com/repos/zalando-incubator/fahrschein/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/zalando-incubator/fahrschein/issues/119/comments","events_url":"https://api.github.com/repos/zalando-incubator/fahrschein/issues/119/events","html_url":"https://github.com/zalando-incubator/fahrschein/issues/119","id":193464190,"number":119,"title":"Fahrschein does not commit empty batches to high-level API","user":{"login":"alnkpa","id":509141,"avatar_url":"https://avatars.githubusercontent.com/u/509141?v=3","gravatar_id":"","url":"https://api.github.com/users/alnkpa","html_url":"https://github.com/alnkpa","followers_url":"https://api.github.com/users/alnkpa/followers","following_url":"https://api.github.com/users/alnkpa/following{/other_user}","gists_url":"https://api.github.com/users/alnkpa/gists{/gist_id}","starred_url":"https://api.github.com/users/alnkpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alnkpa/subscriptions","organizations_url":"https://api.github.com/users/alnkpa/orgs","repos_url":"https://api.github.com/users/alnkpa/repos","events_url":"https://api.github.com/users/alnkpa/events{/privacy}","received_events_url":"https://api.github.com/users/alnkpa/received_events","type":"User","site_admin":false},"labels":[{"id":387096979,"url":"https://api.github.com/repos/zalando-incubator/fahrschein/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-05T10:44:49Z","updated_at":"2016-12-06T14:06:02Z","closed_at":"2016-12-06T14:06:02Z","body":"When using the `ManagedCursorManager`, commiting can fail with\r\n\r\n```\r\n[org.zalando.fahrschein.ManagedCursorManager] Unexpected status code [422] for subscription [ce41ac5c-1c1d-42be-a5db-32f1f976a91b] to event [event] in partition [0] with offset [90458]\r\n```\r\n\r\nNakadi rquires that\r\n\r\n> The client must commit at least once every 60 seconds, otherwise Nakadi will consider the client to be gone and will close the connection.\r\n\r\nThe error above appears if Nakadi closed the stream without the fahrschein-client noticing.\r\n\r\nThis can be mitigated by commiting even empty batches to the Nakadi high-level API."}}
{"actor":{"display_login":"jhorstmann"}}