Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can the message support persistence when use rabbitmq? #240

Closed
zjlhope opened this issue Nov 19, 2018 · 5 comments

Comments

@zjlhope
Copy link

commented Nov 19, 2018

Now,the message be sended to mq without persistence support when use rabbitmq,I hope to support it

@yang-xiaodong

This comment has been minimized.

Copy link
Member

commented Nov 19, 2018

The default configuration is support rabbitmq queue durable features, see :

https://github.com/dotnetcore/CAP/blob/develop/src/DotNetCore.CAP.RabbitMQ/RabbitMQConsumerClient.cs#L106

@zjlhope

This comment has been minimized.

Copy link
Author

commented Nov 19, 2018

The default configuration is support rabbitmq queue durable features, see :

https://github.com/dotnetcore/CAP/blob/develop/src/DotNetCore.CAP.RabbitMQ/RabbitMQConsumerClient.cs#L106

I know what you say. But queue durable,exchange durable don't means message durable in rabbitmq.you must set the relevant property when publish the message

@yang-xiaodong

This comment has been minimized.

Copy link
Member

commented Nov 19, 2018

I just looked at the documentation here., you are right , when send the message, also need to specify delivery_mode again. but I did some tests several months ago, I found that it can still persistence the message without specifying this value. What have I missed?

@zjlhope

This comment has been minimized.

Copy link
Author

commented Nov 19, 2018

I just looked at the documentation here., you are right , when send the message, also need to specify delivery_mode again. but I did some tests several months ago, I found that it can still persistence the message without specifying this value. What have I missed?

non persistence message can still save to disk temporarily when the memory used by mq reached the vm_memory_high_watermark_paging_ratio*vm_memory_high_watermark value,but when you restart mq,these messages can miss.

yang-xiaodong added a commit that referenced this issue Nov 19, 2018
yang-xiaodong added a commit that referenced this issue Dec 8, 2018
Release 2.4.0 (#250)
* update version to 2.4.0

* Add version options to config file.

* update resource

* add  message version support  for dashboard

* add  message version support  for dashboard

* Support using version to isolate messages. #220

* update mongo unit tests

* update unit tests

* update unit tests

* Set default versions for consumer groups

* solve the problem of issue#181 (#237)

* Issue#235 (#238)

* solve the problem of issue#181

* solve the problem of issue#235

* refactor

* Fix the message persistence bug. #240

* using new CamelCaseNamingStrategy

* update packages to .net core 2.2

* update test framework to netcoreapp2.2

* Update .travis.yml

* update TargetFramework

* Exclude build samples project
@yang-xiaodong

This comment has been minimized.

Copy link
Member

commented Dec 8, 2018

fixed in v2.4.0

yang-xiaodong added a commit that referenced this issue Dec 19, 2018
release 2.4.1 (#255)
* update version to 2.4.0

* Add version options to config file.

* update resource

* add  message version support  for dashboard

* add  message version support  for dashboard

* Support using version to isolate messages. #220

* update mongo unit tests

* update unit tests

* update unit tests

* Set default versions for consumer groups

* solve the problem of issue#181 (#237)

* Issue#235 (#238)

* solve the problem of issue#181

* solve the problem of issue#235

* refactor

* Fix the message persistence bug. #240

* using new CamelCaseNamingStrategy

* update packages to .net core 2.2

* update test framework to netcoreapp2.2

* Update .travis.yml

* update TargetFramework

* Exclude build samples project

* update version to 2.4.1

* add samples project to sln for build
yang-xiaodong added a commit that referenced this issue Jan 8, 2019
release 2.4.2 (#272)
* update version to 2.4.0

* Add version options to config file.

* update resource

* add  message version support  for dashboard

* add  message version support  for dashboard

* Support using version to isolate messages. #220

* update mongo unit tests

* update unit tests

* update unit tests

* Set default versions for consumer groups

* solve the problem of issue#181 (#237)

* Issue#235 (#238)

* solve the problem of issue#181

* solve the problem of issue#235

* refactor

* Fix the message persistence bug. #240

* using new CamelCaseNamingStrategy

* update packages to .net core 2.2

* update test framework to netcoreapp2.2

* Update .travis.yml

* update TargetFramework

* Exclude build samples project

* update version to 2.4.1

* add samples project to sln for build

* update version to 2.4.2

* Fixed PostgreSql version isolation feature bug. (#256)

* Fixed spelling errors

* modify cap publish Message to rabbitmq slow (#261)

* Startup the CAP with the BackgroundService.  #265

* update samples

* Fixed SQL query bug. #266

* update travis ci config

* update travis ci config

* adjust dashboard table column width

* adjust the consumer execution time to milliseconds
yang-xiaodong added a commit that referenced this issue Feb 10, 2019
add docs to master (#284)
* update version to 2.4.0

* Add version options to config file.

* update resource

* add  message version support  for dashboard

* add  message version support  for dashboard

* Support using version to isolate messages. #220

* update mongo unit tests

* update unit tests

* update unit tests

* Set default versions for consumer groups

* solve the problem of issue#181 (#237)

* Issue#235 (#238)

* solve the problem of issue#181

* solve the problem of issue#235

* refactor

* Fix the message persistence bug. #240

* using new CamelCaseNamingStrategy

* update packages to .net core 2.2

* update test framework to netcoreapp2.2

* Update .travis.yml

* update TargetFramework

* Exclude build samples project

* update version to 2.4.1

* add samples project to sln for build

* update version to 2.4.2

* Fixed PostgreSql version isolation feature bug. (#256)

* Fixed spelling errors

* modify cap publish Message to rabbitmq slow (#261)

* Startup the CAP with the BackgroundService.  #265

* update samples

* Fixed SQL query bug. #266

* update travis ci config

* update travis ci config

* adjust dashboard table column width

* adjust the consumer execution time to milliseconds

* update ignore

* add mkdocs.yml

* update version to 2.4.3

* add about.md docs

* add index.md docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* Fix resource files

* add docs

* add docs

* add docs

* Create readme.md

* add markdown extensions supports

* update about.md

* add CNAME fiel

* add img

* update docs

* Update README.zh-cn.md
yang-xiaodong added a commit that referenced this issue Feb 10, 2019
WIP (#285)
* update version to 2.4.0

* Add version options to config file.

* update resource

* add  message version support  for dashboard

* add  message version support  for dashboard

* Support using version to isolate messages. #220

* update mongo unit tests

* update unit tests

* update unit tests

* Set default versions for consumer groups

* solve the problem of issue#181 (#237)

* Issue#235 (#238)

* solve the problem of issue#181

* solve the problem of issue#235

* refactor

* Fix the message persistence bug. #240

* using new CamelCaseNamingStrategy

* update packages to .net core 2.2

* update test framework to netcoreapp2.2

* Update .travis.yml

* update TargetFramework

* Exclude build samples project

* update version to 2.4.1

* add samples project to sln for build

* update version to 2.4.2

* Fixed PostgreSql version isolation feature bug. (#256)

* Fixed spelling errors

* modify cap publish Message to rabbitmq slow (#261)

* Startup the CAP with the BackgroundService.  #265

* update samples

* Fixed SQL query bug. #266

* update travis ci config

* update travis ci config

* adjust dashboard table column width

* adjust the consumer execution time to milliseconds

* update ignore

* add mkdocs.yml

* update version to 2.4.3

* add about.md docs

* add index.md docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* add docs

* Fix resource files

* add docs

* add docs

* add docs

* Create readme.md

* add markdown extensions supports

* update about.md

* add CNAME fiel

* add img

* update docs

* Update README.zh-cn.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.