{"action":"created","issue":{"url":"https://api.github.com/repos/tblobaum/redis-stream/issues/2","repository_url":"https://api.github.com/repos/tblobaum/redis-stream","labels_url":"https://api.github.com/repos/tblobaum/redis-stream/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tblobaum/redis-stream/issues/2/comments","events_url":"https://api.github.com/repos/tblobaum/redis-stream/issues/2/events","html_url":"https://github.com/tblobaum/redis-stream/issues/2","id":6622448,"number":2,"title":"Empty OK reply gets dropped","user":{"login":"mnichols","id":11275,"avatar_url":"https://avatars.githubusercontent.com/u/11275?v=3","gravatar_id":"","url":"https://api.github.com/users/mnichols","html_url":"https://github.com/mnichols","followers_url":"https://api.github.com/users/mnichols/followers","following_url":"https://api.github.com/users/mnichols/following{/other_user}","gists_url":"https://api.github.com/users/mnichols/gists{/gist_id}","starred_url":"https://api.github.com/users/mnichols/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnichols/subscriptions","organizations_url":"https://api.github.com/users/mnichols/orgs","repos_url":"https://api.github.com/users/mnichols/repos","events_url":"https://api.github.com/users/mnichols/events{/privacy}","received_events_url":"https://api.github.com/users/mnichols/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2012-09-03T21:04:04Z","updated_at":"2016-04-15T13:16:02Z","closed_at":null,"body":"When redis replies with a reply meaning no records are found it is `+OK/r/n*0 `.\nThe `replyParser` function returns `fn()` as a result making the pipe stop altogether (filter). It seems like it is more suitable to reply with `fn(null, [])` since the redis docs an empty list is presumed when a key doesn't exist.  (http://redis.io/topics/protocol#status-reply)\n\nThis would permit the piping to continue as expected IMO. \n\nDoes this reasoning seem sound?\n"},"comment":{"url":"https://api.github.com/repos/tblobaum/redis-stream/issues/comments/210460771","html_url":"https://github.com/tblobaum/redis-stream/issues/2#issuecomment-210460771","issue_url":"https://api.github.com/repos/tblobaum/redis-stream/issues/2","id":210460771,"user":{"login":"brandonros","id":8949910,"avatar_url":"https://avatars.githubusercontent.com/u/8949910?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonros","html_url":"https://github.com/brandonros","followers_url":"https://api.github.com/users/brandonros/followers","following_url":"https://api.github.com/users/brandonros/following{/other_user}","gists_url":"https://api.github.com/users/brandonros/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonros/subscriptions","organizations_url":"https://api.github.com/users/brandonros/orgs","repos_url":"https://api.github.com/users/brandonros/repos","events_url":"https://api.github.com/users/brandonros/events{/privacy}","received_events_url":"https://api.github.com/users/brandonros/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T13:16:02Z","updated_at":"2016-04-15T13:16:02Z","body":"@tblobaum Please check https://github.com/tblobaum/redis-stream/issues/6"}}