{"action":"created","issue":{"url":"https://api.github.com/repos/Parsely/streamparse/issues/275","repository_url":"https://api.github.com/repos/Parsely/streamparse","labels_url":"https://api.github.com/repos/Parsely/streamparse/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/Parsely/streamparse/issues/275/comments","events_url":"https://api.github.com/repos/Parsely/streamparse/issues/275/events","html_url":"https://github.com/Parsely/streamparse/issues/275","id":161545221,"number":275,"title":"topology fail - bolts not emitting correctly","user":{"login":"daTokenizer","id":6553738,"avatar_url":"https://avatars.githubusercontent.com/u/6553738?v=3","gravatar_id":"","url":"https://api.github.com/users/daTokenizer","html_url":"https://github.com/daTokenizer","followers_url":"https://api.github.com/users/daTokenizer/followers","following_url":"https://api.github.com/users/daTokenizer/following{/other_user}","gists_url":"https://api.github.com/users/daTokenizer/gists{/gist_id}","starred_url":"https://api.github.com/users/daTokenizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daTokenizer/subscriptions","organizations_url":"https://api.github.com/users/daTokenizer/orgs","repos_url":"https://api.github.com/users/daTokenizer/repos","events_url":"https://api.github.com/users/daTokenizer/events{/privacy}","received_events_url":"https://api.github.com/users/daTokenizer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-21T21:34:52Z","updated_at":"2016-06-22T15:34:24Z","closed_at":null,"body":"the bug - tuples does not seem to be able to move through bolts - this is braking a previously working code (of course) \r\n\r\nAppeared on both mac and Ubuntu \r\n\r\nminimal code to reproduce:\r\n\r\nusing the quickstart (which works 100% fine) apply the following changes:\r\n-> add a relay bolt in wordcount.clj\r\n\r\n```clj   \r\n ;; bolt configuration\r\n    {\"relay-bolt\" (python-bolt-spec\r\n          options\r\n          {\"word-spout\" :shuffle}\r\n          \"bolts.wordcount.Relay\"\r\n          [\"word\"]\r\n          )\r\n    }\r\n    ;; bolt configuration\r\n    {\"count-bolt\" (python-bolt-spec\r\n          options\r\n          {\"relay-bolt\" :shuffle}\r\n          \"bolts.wordcount.WordCounter\"\r\n          [\"word\" \"count\"]\r\n          :p 2\r\n          )\r\n    }\r\n```\r\n\r\n-> add implementation to that relay bolt in wordcount.py:\r\n\r\n```py    \r\nclass Relay(Bolt):\r\n    def initialize(self, conf, ctx):\r\n        self.counts = Counter()\r\n\r\n    def process(self, tup):\r\n        word = tup.values[0]\r\n        self.log('relay %s'%word)\r\n        self.emit([word])\r\n```\r\n\r\n-> sparse run\r\n\r\n\r\nyou will see the words getting to the relay but not to count-bolt.\r\n\r\nplease advise if this DOES NOT reproduce the bug for you.\r\n"},"comment":{"url":"https://api.github.com/repos/Parsely/streamparse/issues/comments/227782949","html_url":"https://github.com/Parsely/streamparse/issues/275#issuecomment-227782949","issue_url":"https://api.github.com/repos/Parsely/streamparse/issues/275","id":227782949,"user":{"login":"daTokenizer","id":6553738,"avatar_url":"https://avatars.githubusercontent.com/u/6553738?v=3","gravatar_id":"","url":"https://api.github.com/users/daTokenizer","html_url":"https://github.com/daTokenizer","followers_url":"https://api.github.com/users/daTokenizer/followers","following_url":"https://api.github.com/users/daTokenizer/following{/other_user}","gists_url":"https://api.github.com/users/daTokenizer/gists{/gist_id}","starred_url":"https://api.github.com/users/daTokenizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daTokenizer/subscriptions","organizations_url":"https://api.github.com/users/daTokenizer/orgs","repos_url":"https://api.github.com/users/daTokenizer/repos","events_url":"https://api.github.com/users/daTokenizer/events{/privacy}","received_events_url":"https://api.github.com/users/daTokenizer/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T15:34:24Z","updated_at":"2016-06-22T15:34:24Z","body":"that's the weird part, I was using it in productions as well.. this new bug was found as a part of a presentation i was preparing. "}}
{"actor":{"display_login":"daTokenizer"}}