lib/zeebe/client/proto/gateway_services_pb.rb in zeebe-client-0.4.1 vs lib/zeebe/client/proto/gateway_services_pb.rb in zeebe-client-0.5.0

- old
+ new

@@ -13,28 +13,28 @@ self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'gateway_protocol.Gateway' # - # Iterates through all known partitions in a round-robin and activates up to the requested amount - # of jobs and streams them back to the client as they are activated. + # Iterates through all known partitions round-robin and activates up to the requested + # maximum and streams them back to the client as they are activated. # # Errors: # INVALID_ARGUMENT: # - type is blank (empty string, null) # - worker is blank (empty string, null) # - timeout less than 1 - # - amount is less than 1 + # - maxJobsToActivate is less than 1 rpc :ActivateJobs, ActivateJobsRequest, stream(ActivateJobsResponse) # # Cancels a running workflow instance # # Errors: # NOT_FOUND: # - no workflow instance exists with the given key rpc :CancelWorkflowInstance, CancelWorkflowInstanceRequest, CancelWorkflowInstanceResponse # - # Completes a job with the given payload, which allows completing the associated service task. + # Completes a job with the given variables, which allows completing the associated service task. # # Errors: # NOT_FOUND: # - no job exists with the given job key. Note that since jobs are removed once completed, # it could be that this job did exist at some point.