Skip to content

Commit dfa5fb0

Browse files
authored
Merge pull request #658: Prepare to release 2.16.0
2 parents 79d42ff + b3872b4 commit dfa5fb0

File tree

3 files changed

+103
-1
lines changed

3 files changed

+103
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
"suggest": {
8484
"ext-grpc": "For Client calls",
8585
"ext-protobuf": "For better performance",
86-
"buggregator/trap": "For better debugging"
86+
"buggregator/trap": "For better debugging",
87+
"roadrunner/psr-logger": "RoadRunner PSR-3 logger integration"
8788
},
8889
"scripts": {
8990
"get:binaries": [

src/Client/GRPC/ServiceClient.php

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,4 +1371,62 @@ public function TriggerWorkflowRule(V1\TriggerWorkflowRuleRequest $arg, ?Context
13711371
{
13721372
return $this->invoke("TriggerWorkflowRule", $arg, $ctx);
13731373
}
1374+
1375+
/**
1376+
* WorkerHeartbeat receive heartbeat request from the worker.
1377+
*
1378+
* @throws ServiceClientException
1379+
*/
1380+
public function RecordWorkerHeartbeat(V1\RecordWorkerHeartbeatRequest $arg, ?ContextInterface $ctx = null): V1\RecordWorkerHeartbeatResponse
1381+
{
1382+
return $this->invoke("RecordWorkerHeartbeat", $arg, $ctx);
1383+
}
1384+
1385+
/**
1386+
* ListWorkers is a visibility API to list worker status information in a specific
1387+
* namespace.
1388+
*
1389+
* @throws ServiceClientException
1390+
*/
1391+
public function ListWorkers(V1\ListWorkersRequest $arg, ?ContextInterface $ctx = null): V1\ListWorkersResponse
1392+
{
1393+
return $this->invoke("ListWorkers", $arg, $ctx);
1394+
}
1395+
1396+
/**
1397+
* Updates task queue configuration.
1398+
* For the overall queue rate limit: the rate limit set by this api overrides the
1399+
* worker-set rate limit,
1400+
* which uncouples the rate limit from the worker lifecycle.
1401+
* If the overall queue rate limit is unset, the worker-set rate limit takes
1402+
* effect.
1403+
*
1404+
* @throws ServiceClientException
1405+
*/
1406+
public function UpdateTaskQueueConfig(V1\UpdateTaskQueueConfigRequest $arg, ?ContextInterface $ctx = null): V1\UpdateTaskQueueConfigResponse
1407+
{
1408+
return $this->invoke("UpdateTaskQueueConfig", $arg, $ctx);
1409+
}
1410+
1411+
/**
1412+
* FetchWorkerConfig returns the worker configuration for a specific worker.
1413+
*
1414+
* @throws ServiceClientException
1415+
*/
1416+
public function FetchWorkerConfig(V1\FetchWorkerConfigRequest $arg, ?ContextInterface $ctx = null): V1\FetchWorkerConfigResponse
1417+
{
1418+
return $this->invoke("FetchWorkerConfig", $arg, $ctx);
1419+
}
1420+
1421+
/**
1422+
* UpdateWorkerConfig updates the worker configuration of one or more workers.
1423+
* Can be used to partially update the worker configuration.
1424+
* Can be used to update the configuration of multiple workers.
1425+
*
1426+
* @throws ServiceClientException
1427+
*/
1428+
public function UpdateWorkerConfig(V1\UpdateWorkerConfigRequest $arg, ?ContextInterface $ctx = null): V1\UpdateWorkerConfigResponse
1429+
{
1430+
return $this->invoke("UpdateWorkerConfig", $arg, $ctx);
1431+
}
13741432
}

src/Client/GRPC/ServiceClientInterface.php

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,6 +1121,49 @@ public function ListWorkflowRules(V1\ListWorkflowRulesRequest $arg, ?ContextInte
11211121
*/
11221122
public function TriggerWorkflowRule(V1\TriggerWorkflowRuleRequest $arg, ?ContextInterface $ctx = null): V1\TriggerWorkflowRuleResponse;
11231123

1124+
/**
1125+
* WorkerHeartbeat receive heartbeat request from the worker.
1126+
*
1127+
* @throws ServiceClientException
1128+
*/
1129+
public function RecordWorkerHeartbeat(V1\RecordWorkerHeartbeatRequest $arg, ?ContextInterface $ctx = null): V1\RecordWorkerHeartbeatResponse;
1130+
1131+
/**
1132+
* ListWorkers is a visibility API to list worker status information in a specific
1133+
* namespace.
1134+
*
1135+
* @throws ServiceClientException
1136+
*/
1137+
public function ListWorkers(V1\ListWorkersRequest $arg, ?ContextInterface $ctx = null): V1\ListWorkersResponse;
1138+
1139+
/**
1140+
* Updates task queue configuration.
1141+
* For the overall queue rate limit: the rate limit set by this api overrides the
1142+
* worker-set rate limit,
1143+
* which uncouples the rate limit from the worker lifecycle.
1144+
* If the overall queue rate limit is unset, the worker-set rate limit takes
1145+
* effect.
1146+
*
1147+
* @throws ServiceClientException
1148+
*/
1149+
public function UpdateTaskQueueConfig(V1\UpdateTaskQueueConfigRequest $arg, ?ContextInterface $ctx = null): V1\UpdateTaskQueueConfigResponse;
1150+
1151+
/**
1152+
* FetchWorkerConfig returns the worker configuration for a specific worker.
1153+
*
1154+
* @throws ServiceClientException
1155+
*/
1156+
public function FetchWorkerConfig(V1\FetchWorkerConfigRequest $arg, ?ContextInterface $ctx = null): V1\FetchWorkerConfigResponse;
1157+
1158+
/**
1159+
* UpdateWorkerConfig updates the worker configuration of one or more workers.
1160+
* Can be used to partially update the worker configuration.
1161+
* Can be used to update the configuration of multiple workers.
1162+
*
1163+
* @throws ServiceClientException
1164+
*/
1165+
public function UpdateWorkerConfig(V1\UpdateWorkerConfigRequest $arg, ?ContextInterface $ctx = null): V1\UpdateWorkerConfigResponse;
1166+
11241167
/**
11251168
* Close the communication channel associated with this stub.
11261169
*/

0 commit comments

Comments
 (0)