Skip to content

Commit

Permalink
[ISSUE #8870] Correct reported language code in nodejs client (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohai666 authored Nov 21, 2024
1 parent bedcf25 commit f5e2d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodejs/src/client/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f5e2d20

Please sign in to comment.