You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wa...@apache.org on 2024/02/26 07:00:56 UTC

(skywalking-showcase) branch fix-rocketMQ created (now cc79fc8)

This is an automated email from the ASF dual-hosted git repository.

wankai pushed a change to branch fix-rocketMQ
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git


      at cc79fc8  fix rocketMQ NAMESRV_ADDR

This branch includes the following new commits:

     new cc79fc8  fix rocketMQ NAMESRV_ADDR

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(skywalking-showcase) 01/01: fix rocketMQ NAMESRV_ADDR

Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wankai pushed a commit to branch fix-rocketMQ
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git

commit cc79fc8006c43d1885e808e593a06191abb8dd99
Author: wankai123 <wa...@foxmail.com>
AuthorDate: Mon Feb 26 15:00:36 2024 +0800

    fix rocketMQ NAMESRV_ADDR
---
 .../kubernetes/templates/feature-rocketmq/resource.yaml        | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/deploy/platform/kubernetes/templates/feature-rocketmq/resource.yaml b/deploy/platform/kubernetes/templates/feature-rocketmq/resource.yaml
index a74fc19..c70ca3c 100644
--- a/deploy/platform/kubernetes/templates/feature-rocketmq/resource.yaml
+++ b/deploy/platform/kubernetes/templates/feature-rocketmq/resource.yaml
@@ -82,7 +82,7 @@ spec:
             - name: TZ
               value: "Asia/Shanghai"
             - name: NAMESRV_ADDR
-              value: "localhost:9876"
+              value: "rocketmq:9876"
             - name: JAVA_OPT_EXT
               value: "-Xmx128m -Xms128m"
           command: [ "sh", "mqbroker" ]
@@ -93,7 +93,7 @@ spec:
             - name: TZ
               value: "Asia/Shanghai"
             - name: NAMESRV_ADDR
-              value: "localhost:9876"
+              value: "rocketmq:9876"
           command: ["sh", "tools.sh", "org.apache.rocketmq.example.quickstart.Consumer"]
         - name: rocketmq-exporter
           image: apache/rocketmq-exporter:0.0.2
@@ -105,7 +105,7 @@ spec:
             - name: TZ
               value: "Asia/Shanghai"
             - name: rocketmq.config.namesrvAddr
-              value: "localhost:9876"
+              value: "rocketmq:9876"
 
 ---
 apiVersion: batch/v1
@@ -129,9 +129,9 @@ spec:
                 - name: TZ
                   value: "Asia/Shanghai"
                 - name: NAMESRV_ADDR
-                  value: "rocketmq-service:9876"
+                  value: "rocketmq:9876"
                 - name: JAVA_OPT_EXT
                   value: "-Xmx128m -Xms128m"
               command: [ "sh", "tools.sh", "org.apache.rocketmq.example.quickstart.Producer" ]
 
-{{- end }}
\ No newline at end of file
+{{- end }}