{"action":"created","issue":{"url":"https://api.github.com/repos/robertmrk/aiosfstream/issues/3","repository_url":"https://api.github.com/repos/robertmrk/aiosfstream","labels_url":"https://api.github.com/repos/robertmrk/aiosfstream/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/robertmrk/aiosfstream/issues/3/comments","events_url":"https://api.github.com/repos/robertmrk/aiosfstream/issues/3/events","html_url":"https://github.com/robertmrk/aiosfstream/issues/3","id":382844563,"node_id":"MDU6SXNzdWUzODI4NDQ1NjM=","number":3,"title":"[Question] Advice on Timing of set_replay_marker","user":{"login":"balmasi","id":300100,"node_id":"MDQ6VXNlcjMwMDEwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/300100?v=4","gravatar_id":"","url":"https://api.github.com/users/balmasi","html_url":"https://github.com/balmasi","followers_url":"https://api.github.com/users/balmasi/followers","following_url":"https://api.github.com/users/balmasi/following{/other_user}","gists_url":"https://api.github.com/users/balmasi/gists{/gist_id}","starred_url":"https://api.github.com/users/balmasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balmasi/subscriptions","organizations_url":"https://api.github.com/users/balmasi/orgs","repos_url":"https://api.github.com/users/balmasi/repos","events_url":"https://api.github.com/users/balmasi/events{/privacy}","received_events_url":"https://api.github.com/users/balmasi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-20T20:55:12Z","updated_at":"2018-11-22T06:36:39Z","closed_at":null,"author_association":"NONE","body":"Hi @robertmrk ,\r\n\r\nI've been using your package with great success so thank you.\r\n\r\nOne question on the consumption of messages though:\r\n\r\nLet's say I have some `async def process(msg): ...` that does some processing of a received message\r\n\r\nIt seems like `set_replay_marker` is being called before I can call my process function. How can I replay the message that I just received if the `process(msg)` call fails?\r\n\r\nideally, I would like to increase the replay marker AFTER I've processed successfully.\r\n\r\nany advice?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/robertmrk/aiosfstream/issues/comments/440927605","html_url":"https://github.com/robertmrk/aiosfstream/issues/3#issuecomment-440927605","issue_url":"https://api.github.com/repos/robertmrk/aiosfstream/issues/3","id":440927605,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDkyNzYwNQ==","user":{"login":"michalgornik","id":38221628,"node_id":"MDQ6VXNlcjM4MjIxNjI4","avatar_url":"https://avatars0.githubusercontent.com/u/38221628?v=4","gravatar_id":"","url":"https://api.github.com/users/michalgornik","html_url":"https://github.com/michalgornik","followers_url":"https://api.github.com/users/michalgornik/followers","following_url":"https://api.github.com/users/michalgornik/following{/other_user}","gists_url":"https://api.github.com/users/michalgornik/gists{/gist_id}","starred_url":"https://api.github.com/users/michalgornik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalgornik/subscriptions","organizations_url":"https://api.github.com/users/michalgornik/orgs","repos_url":"https://api.github.com/users/michalgornik/repos","events_url":"https://api.github.com/users/michalgornik/events{/privacy}","received_events_url":"https://api.github.com/users/michalgornik/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T06:36:39Z","updated_at":"2018-11-22T06:36:39Z","author_association":"NONE","body":"I'm saving every every to file, then i read event from file, then process, if processed succesfully then delete line from file. If not then event will be processed with next incoming event. "}}
{"actor":{"display_login":"michalgornik"}}