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_r139178742
 
 

 ##########
 File path: action/lib/Database.js
 ##########
 @@ -60,4 +63,39 @@ module.exports = function(dbURL, dbName) {
                 });
             })
     };
+
+    this.getTriggerAssignment = function(workers) {
+        // a map between available workers and their number of assigned 
triggers
+        // values will be populated with the results of the assignment view
+        console.log(`Available workers: ${JSON.stringify(workers, null, 2)}`);
 
 Review comment:
   Referring to this line below: `var assignment = workers[0] || 'worker0';`.
 
----------------------------------------------------------------
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

Reply via email to