You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2022/05/08 00:43:02 UTC

[GitHub] [incubator-inlong] bigdaronlee163 opened a new issue, #4123: tubemq all image can not work when using go example

bigdaronlee163 opened a new issue, #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123

   ### What happened
   
   I want to run the example code  in tubemq-client-go, when i run tubemq using `docker run -p 8080:8080 -p 8715:8715 -p 8123:8123 -p 2181:2181 --name tubemq -d inlong/tubemq-all:latest`  ,and then I run the code in example in tubemq-client-go, with error reporting . 
   
   ![image](https://user-images.githubusercontent.com/49524138/167276756-49ab5ed5-bf33-4e55-9700-10bfbee63d8f.png)
   
   
   ![image](https://user-images.githubusercontent.com/49524138/167276852-8878caa6-49ca-468e-9708-55352ff27e0b.png)
   
   
   
   
   ### What you expected to happen
   
   run example code with right behavior
   
   ### How to reproduce
   
   1. docker run -p 8099:8099 -p 8080:8080 -p 8715:8715 -p 8123:8123 -p 2181:2181 --name tubemq -d inlong/tubemq-all:latest
   2. run example  code  in tubemq-client-go
   
   ### Environment
   
   版本	Windows 10 家庭中文版
   版本号	21H2
   安装日期	‎2021/‎11/‎6
   操作系统内部版本	19044.1645
   体验	Windows Feature Experience Pack 120.2212.4170.0
   
   
   ### InLong version
   
   1.1.0
   
   ### InLong Component
   
   InLong TubeMQ
   
   ### Are you willing to submit PR?
   
   - [ ] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: dev-unsubscribe@inlong.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] TszKitLo40 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
TszKitLo40 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120340693

   Maybe you also need to provide the log the TubeMQ server. @gosonzhang PTAL


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] TszKitLo40 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
TszKitLo40 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120341540

   Is your master address `127.0.0.1:8099`? @bigdaronlee163 


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] dockerzhang commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
dockerzhang commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120331911

   @TszKitLo40 PTAL, thanks.


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] bigdaronlee163 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
bigdaronlee163 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120367819

   It may be the lack of data producers.....


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] TszKitLo40 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
TszKitLo40 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120333518

   @bigdaronlee163 Do you run the code in  https://github.com/apache/incubator-inlong/blob/master/inlong-tubemq/tubemq-client-twins/tubemq-client-go/example/consumer.go? It is just an example for the users. which means you may need to replace by the correct address by yourself. The address is `127.0.0.1:8099?topic=test_1&group=test_group`. So you need to change the port to the correct TubeMQ port, and you also need to make sure that there is a topic  called `test_1` and a group called `test_group` in the corresponding TubeMQ server.


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] bigdaronlee163 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
bigdaronlee163 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120344833

   > Is your master address `127.0.0.1:8099`? @bigdaronlee163
   
   yes , I will submit log soon


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] bigdaronlee163 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
bigdaronlee163 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120337916

   yes, I run the code https://github.com/apache/incubator-inlong/blob/master/inlong-tubemq/tubemq-client-twins/tubemq-client-go/example/consumer.go. But I run the tubemq images with docker and export port according to  https://inlong.apache.org/zh-CN/docs/modules/tubemq/quick_start . After tubemq-all container running, I create test_topic and test_group in 127.0.0.1:8080, there is still error when running the code https://github.com/apache/incubator-inlong/blob/master/inlong-tubemq/tubemq-client-twins/tubemq-client-go/example/consumer.go. 
   
   ![image](https://user-images.githubusercontent.com/49524138/167279498-1043e2e4-0b47-4d97-8c0c-988e5a1bd4f3.png)
   
   
   ![image](https://user-images.githubusercontent.com/49524138/167279462-5b3f5ffe-aa70-4b94-af85-48c090c427b1.png)
   
   
   


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong] dockerzhang closed issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #4123: [BUG][TubeMQ] All images can not work when using go example
URL: https://github.com/apache/inlong/issues/4123


-- 
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: dev-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] bigdaronlee163 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
bigdaronlee163 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120340299

   ![image](https://user-images.githubusercontent.com/49524138/167280035-edd55bed-2e65-46b1-bb2d-f82dbe38e869.png)
   


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] bigdaronlee163 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
bigdaronlee163 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120365937

   I will try java client to test the running tubemq-all


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] TszKitLo40 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
TszKitLo40 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120338506

   The topic name should be `test_1` instead of `test_topic`.


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] TszKitLo40 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
TszKitLo40 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120339731

   > yes, I run the code https://github.com/apache/incubator-inlong/blob/master/inlong-tubemq/tubemq-client-twins/tubemq-client-go/example/consumer.go. But I run the tubemq images with docker and export port according to https://inlong.apache.org/zh-CN/docs/modules/tubemq/quick_start . After tubemq-all container running, I create test_topic and test_group in 127.0.0.1:8080, there is still error when running the code https://github.com/apache/incubator-inlong/blob/master/inlong-tubemq/tubemq-client-twins/tubemq-client-go/example/consumer.go.
   > 
   > ![image](https://user-images.githubusercontent.com/49524138/167279498-1043e2e4-0b47-4d97-8c0c-988e5a1bd4f3.png)
   > 
   > ![image](https://user-images.githubusercontent.com/49524138/167279462-5b3f5ffe-aa70-4b94-af85-48c090c427b1.png)
   > 
   > @TszKitLo40
   
   
   The topic name should be test_1 instead of test_topic.
   
   


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-inlong] bigdaronlee163 commented on issue #4123: [BUG][TubeMQ] All images can not work when using go example

Posted by GitBox <gi...@apache.org>.
bigdaronlee163 commented on issue #4123:
URL: https://github.com/apache/incubator-inlong/issues/4123#issuecomment-1120364720

   [gc.log.2022-05-08-06-53-23.0.current.log](https://github.com/apache/incubator-inlong/files/8646522/gc.log.2022-05-08-06-53-23.0.current.log)
   [master.log](https://github.com/apache/incubator-inlong/files/8646523/master.log)
   [broker.log](https://github.com/apache/incubator-inlong/files/8646524/broker.log)
   [gc.log.2022-05-08-06-53-19.0.current.log](https://github.com/apache/incubator-inlong/files/8646525/gc.log.2022-05-08-06-53-19.0.current.log)
   
   there are logs, but I donot find any exception. 
   


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org