作者:西瓜程序猿上一章节主要介绍了RocketMQ基本介绍和前期准备,以及如何创建生产者。那这一章节主要介绍一下消费端的实现、如何发布消费端,以及遇到的坑怎么去解决。
主页传送门:https://www.cnblogs.com/kimiliucn/
注意:Windows服务只有在.NET Framework版本中才有了,在跨平台中使用Worker Service。
C:\Windows\Microsoft.NET\Framework\v4.0.30319如果是x64版本,复制这个地址:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319不然会报类似这种错误:在初始化安装时发生异常: System.BadImageFormatException: 未能加载文件或程序集...
InstallUtil 项目启动执行文件全路径西瓜程序猿的例子:
InstallUtil D:\项目演示临时保存\MyDemoService\MyDemoService\bin\Debug\MyDemoService.exe
InstallUtil /u 项目启动执行文件全路径西瓜程序猿的例子:
InstallUtil /u D:\项目演示临时保存\MyDemoService\MyDemoService\bin\Debug\MyDemoService.exe
“ons.ONSClient4CPPPINVOKE”的类型初始值设定项引发异常。解决方案:
Topic Route does not exist, Topic:XG_CXY_Test exception:msg: No route info of this topic, ,error:-1,in file line:581
See https://github.com/alibaba/ons/issues/7 for further details.”
欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |