dubeejw commented on a change in pull request #214: WIP Support multiple workers
URL:
https://github.com/apache/incubator-openwhisk-package-kafka/pull/214#discussion_r137960815
##########
File path: provider/service.py
##########
@@ -120,6 +131,14 @@ def run(self):
logging.debug("[changes] I made it out of the changes loop!")
+ def __isTriggerDocAssignedToMe(self, doc):
+ if "worker" in doc:
+ return doc["worker"] == self.workerId
+ else:
+ # TODO I'm uncomfortable with the assumption that "worker0" is the
default worker
Review comment:
Address TODO.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services