Message consumption method and device, electronic equipment and computer storage medium
A message and target message technology, applied in the computer field, can solve problems such as abnormal business data, RocketMQ does not support idempotent consumption, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0084] Optionally, in another embodiment of the present application, if the consumption is unsuccessful, an implementation of the message consumption method includes:
[0085] Store the idempotent identity of the target message, change the consumption status of the ID card of the target message to unsuccessful consumption, and enter the retry process.
[0086] In the specific implementation process of this application, the consumption status of unsuccessful consumption can be represented by but not limited to 2.
[0087] Specifically, the target message is sent to the retry queue. When the message enters the retry process, the idempotent consumption logic no longer takes effect, because in order to prevent consumers from losing messages, the retry message no longer follows the idempotent consumption process .
[0088] like image 3 As shown, it is a schematic diagram of the message consumption method provided by the embodiment of this application. The ①② process is the produ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


