wtysos11 opened a new issue, #464: URL: https://github.com/apache/rocketmq-site/issues/464
The issue tracker is **ONLY** used for bug report and feature request. Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/). **BUG REPORT** 1. Please describe the issue you observed: I meet exception when I run the code in [Quick start | RocketMQ](https://rocketmq.apache.org/docs/quickStart/02quickstart/) , and I want to report the bug. - What did you do (The steps to reproduce)? 1. Deploy the rocketmq following the guidance in quick start (start broker and proxy) 2. create a maven project, create two java file `ProducerExample.java` and `PushConsumerExample.java`. 3. Copy the code in "5. Send and Receive Messages with SDK" and run the code ( both English an Chinese version) - What did you expect to see? When I copy the code in "5. Send and Receive Messages with SDK", I expected it can run without any exception. - What did you see instead? I meet two exceptions due to the problemed topic name and consumerGroup name in code. The picture shows the exception I met when running PushConsumerExample.java after I changed the value of topic. <img width="1111" alt="image" src="https://user-images.githubusercontent.com/21279827/213378055-05d78d80-0d48-4f6c-bbde-7d9b854d3348.png"> I believe this problem is caused by the extra space in the value of variable "topic" and "consumerGroup". This problem occurs in both English and Chinese version. 4. Please tell us about your environment: rocketmq-client-java-version is 5.0.4, use java 8 to compile. ```xml <dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-client-java</artifactId> <version>${rocketmq-client-java-version}</version> </dependency> ``` 5. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc): `String topic = "Your Topic"` should be "TestTopic", and "String consumerGroup = "Your ConsumerGroup";" or something else without space. -- 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]
