Github user dan-blanchard commented on the pull request:
https://github.com/apache/storm/pull/525#issuecomment-93998284
I modified my local copy of storm.py to make it log the contexts its
received and I noticed that `TesterSpout` gets:
```python
{u'task->component':
{u'20': u'__acker',
u'21': u'__acker',
u'22': u'__acker',
u'1': u'1',
u'3': u'__acker',
u'2': u'2',
u'5': u'__acker',
u'4': u'__acker',
u'7': u'__acker',
u'6': u'__acker',
u'9': u'__acker',
u'8': u'__acker',
u'11': u'__acker',
u'10': u'__acker',
u'13': u'__acker',
u'12': u'__acker',
u'15': u'__acker',
u'14': u'__acker',
u'17': u'__acker',
u'16': u'__acker',
u'19': u'__acker',
u'18': u'__acker'},
u'sources->grouping': {},
u'stream->target->grouping': {u'default': {u'2': u'SHUFFLE'}},
u'streams': [u'default'],
u'stream->outputfields': {u'default': [u'word']},
u'taskid': 1,
u'componentid': u'1'}
```
and the corresponding `TesterBolt` gets:
```python
{u'task->component':
{u'20': u'__acker',
u'21': u'__acker',
u'22': u'__acker',
u'1': u'1',
u'3': u'__acker',
u'2': u'2',
u'5': u'__acker',
u'4': u'__acker',
u'7': u'__acker',
u'6': u'__acker',
u'9': u'__acker',
u'8': u'__acker',
u'11': u'__acker',
u'10': u'__acker',
u'13': u'__acker',
u'12': u'__acker',
u'15': u'__acker',
u'14': u'__acker',
u'17': u'__acker',
u'16': u'__acker',
u'19': u'__acker',
u'18': u'__acker'},
u'sources->grouping': {},
u'stream->target->grouping': {},
u'streams': [u'default'],
u'stream->outputfields': {u'default': [u'word']},
u'taskid': 2,
u'componentid': u'2'}
```
`stream->target->grouping` seems to be working fine, but for some reason
`TesterSpout` isn't showing up in `sources->grouping` (as I would expect it to,
since its the source for `TesterBolt`). Let me fix that.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---