MCPcopy Create free account
hub / github.com/apache/storm / emitSpout

Function emitSpout

storm-multilang/python/src/main/resources/resources/storm.py:133–142  ·  view source on GitHub ↗
(tup, stream=None, id=None, directTask=None)

Source from the content-addressed store, hash-verified

131
132
133def emitSpout(tup, stream=None, id=None, directTask=None):
134 m = {"command": "emit"}
135 if id is not None:
136 m["id"] = id
137 if stream is not None:
138 m["stream"] = stream
139 if directTask is not None:
140 m["task"] = directTask
141 m["tuple"] = tup
142 sendMsgToParent(m)
143
144
145def ack(tup):

Callers 1

__emitFunction · 0.85

Calls 1

sendMsgToParentFunction · 0.85

Tested by

no test coverage detected