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

[GitHub] [rocketmq] yanghaifeng5461 opened a new issue, #4872: BROADCASTING mode in windows, create rocketmq_offsets file failed

yanghaifeng5461 opened a new issue, #4872:
URL: https://github.com/apache/rocketmq/issues/4872

   BROADCASTING mode in windows, create rocketmq_offsets file failed.
   It’s not allowed to write ‘:’ characters when creating folders under windows
   
   error log:
   java.io.FileNotFoundException: 
   C:\Users\.rocketmq_offsets\IP:9876@testConsumer\testConsumer\offsets.json.tmp
   at java.io.FileOutputStream.open0(Native Method)
   	at java.io.FileOutputStream.open(FileOutputStream.java:270)
   	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
   	at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
   	at java.io.FileWriter.<init>(FileWriter.java:90)
   	at org.apache.rocketmq.common.MixAll.string2FileNotSafe(MixAll.java:166)
   	at org.apache.rocketmq.common.MixAll.string2File(MixAll.java:142)
   	at org.apache.rocketmq.client.consumer.store.LocalFileOffsetStore.persistAll(LocalFileOffsetStore.java:147)
   	at org.apache.rocketmq.client.impl.consumer.DefaultMQPushConsumerImpl.persistConsumerOffset(DefaultMQPushConsumerImpl.java:1024)
   	at org.apache.rocketmq.client.impl.consumer.DefaultMQPushConsumerImpl.shutdown(DefaultMQPushConsumerImpl.java:560)
   	at org.apache.rocketmq.client.consumer.DefaultMQPushConsumer.shutdown(DefaultMQPushConsumer.java:721)
   	at org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer.stop(DefaultRocketMQListenerContainer.java:297)
   	at org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer.stop(DefaultRocketMQListenerContainer.java:273)
   	at org.springframework.context.support.DefaultLifecycleProcessor.doStop(DefaultLifecycleProcessor.java:234)
   	at org.springframework.context.support.DefaultLifecycleProcessor.access$300(DefaultLifecycleProcessor.java:54)
   	at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.stop(DefaultLifecycleProcessor.java:373)
   	at org.springframework.context.support.DefaultLifecycleProcessor.stopBeans(DefaultLifecycleProcessor.java:206)
   	at org.springframework.context.support.DefaultLifecycleProcessor.onClose(DefaultLifecycleProcessor.java:129)
   	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1067)
   	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.doClose(ServletWebServerApplicationContext.java:172)
   	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1021)
   	at org.springframework.boot.SpringApplicationShutdownHook.closeAndWait(SpringApplicationShutdownHook.java:137)
   	at java.lang.Iterable.forEach(Iterable.java:75)
   	at org.springframework.boot.SpringApplicationShutdownHook.run(SpringApplicationShutdownHook.java:106)
   	at java.lang.Thread.run(Thread.java:748)
   


-- 
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@rocketmq.apache.org.apache.org

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


[GitHub] [rocketmq] yanghaifeng5461 closed issue #4872: BROADCASTING mode in windows, create rocketmq_offsets file failed

Posted by GitBox <gi...@apache.org>.
yanghaifeng5461 closed issue #4872: BROADCASTING mode in windows, create rocketmq_offsets file failed
URL: https://github.com/apache/rocketmq/issues/4872


-- 
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@rocketmq.apache.org

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


[GitHub] [rocketmq] yanghaifeng5461 commented on issue #4872: BROADCASTING mode in windows, create rocketmq_offsets file failed

Posted by GitBox <gi...@apache.org>.
yanghaifeng5461 commented on issue #4872:
URL: https://github.com/apache/rocketmq/issues/4872#issuecomment-1226867596

   thank u


-- 
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@rocketmq.apache.org

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


[GitHub] [rocketmq] YangJodie commented on issue #4872: BROADCASTING mode in windows, create rocketmq_offsets file failed

Posted by GitBox <gi...@apache.org>.
YangJodie commented on issue #4872:
URL: https://github.com/apache/rocketmq/issues/4872#issuecomment-1223904440

   If you need reliable continuation consumption when restart, please use cluster mode.


-- 
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@rocketmq.apache.org

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