This is an automated email from the ASF dual-hosted git repository. lizhimin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/master by this push: new f5e2d20b [ISSUE #8870] Correct reported language code in nodejs client (#853) f5e2d20b is described below commit f5e2d20b280457f07f96b1d2822aa6b36cf2950c Author: zhaohai <33314633+zhaohai...@users.noreply.github.com> AuthorDate: Thu Nov 21 10:28:19 2024 +0800 [ISSUE #8870] Correct reported language code in nodejs client (#853) --- nodejs/src/client/BaseClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/src/client/BaseClient.ts b/nodejs/src/client/BaseClient.ts index 77f790b9..520d62f4 100644 --- a/nodejs/src/client/BaseClient.ts +++ b/nodejs/src/client/BaseClient.ts @@ -288,7 +288,7 @@ export abstract class BaseClient { // language of client // FIXME: java.lang.IllegalArgumentException: No enum constant org.apache.rocketmq.remoting.protocol.LanguageCode.nodejs // https://github.com/apache/rocketmq/blob/master/remoting/src/main/java/org/apache/rocketmq/remoting/protocol/LanguageCode.java - metadata.set('x-mq-language', 'HTTP'); + metadata.set('x-mq-language', 'NODE_JS'); // version of client metadata.set('x-mq-client-version', UserAgent.INSTANCE.version); if (this.namespace) {