WesleyOne opened a new issue, #400:
URL: https://github.com/apache/rocketmq-site/issues/400

   https://rocketmq.apache.org/zh/docs/featureBehavior/06consumertype
   `SimpleConsumer`章节的代码启动报NPE
   `awaitDuration`必须设置但未设置造成
   ```
   Exception in thread "main" java.lang.NullPointerException: awaitDuration has 
not been set yet
        at 
org.apache.rocketmq.shaded.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:907)
        at 
org.apache.rocketmq.client.java.impl.consumer.SimpleConsumerBuilderImpl.build(SimpleConsumerBuilderImpl.java:79)
        at org.example.SimpleConsumerExample.main(SimpleConsumerExample.java:35)
   ```


-- 
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]

Reply via email to