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

Handle orders that have been processing for a long time #240

Closed
5 tasks
SandGrainOne opened this issue Sep 20, 2023 · 2 comments
Closed
5 tasks

Handle orders that have been processing for a long time #240

SandGrainOne opened this issue Sep 20, 2023 · 2 comments

Comments

@SandGrainOne
Copy link
Member

SandGrainOne commented Sep 20, 2023

Description

Implement a new mechanism to pick up/detect orders that have the processing status for too long. Orders like that was picked up, but something must have gone wrong during the processing. The most obvious cause is the case of getting an exception when trying to write orders to a Kafka Topic.

Development

Acceptance criteria

@acn-sbuad
Copy link
Contributor

Cannot see that this is a realistic issue. With the changes made to the producer to ensure that we return false if publishing to a topic fails, we will always identify the cases where issues have occurred and change the status in the DB for the order to be picked up next round. I believe we can push this issue further down the line to see if it occurs again during testing

@SandGrainOne
Copy link
Member Author

We will need to rewrite the logic around this when removing Kafka. Closing as not fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants