bendan365 commented on issue #308:
URL:
https://github.com/apache/rocketmq-clients/issues/308#issuecomment-1346390016
'update_metadata' => function ($metaData) use ($clientId) {
$metaData['headers'] = [
'x-mq-client-id' => $clientId,
'x-mq-date-time' => '20210309T195445Z',
'x-mq-request-id' => 'f122a1e0-dbcf-4ca4-9db7-221903354be7',
'x-mq-language' => 'php',
'x-mq-client-version' => '5.0.0',
'x-mq-protocol' => 'v2'
]; // Pass the ClientID to the server through the header
return $metaData;
}
]);
response data is
{"message":"\n\u001f\b\u0478\u0002\u0012\u0019client id cannot be
empty","status":{"metadata":[],"code":0,"details":""},"metadata":[]}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]