Open saguiitay opened 9 months ago
I think it makes sense to expose this as a setting. The reason that we allow it to keep going by default is to avoid data loss and allow users a chance to fix the root cause, but it makes sense to allow overriding this behavior.
I'd like to work on this.
@davidmrdavid you worked on a solution for this recently, right? My memory is fuzzy, but is your implementation broadly available and would it qualify for closing this issue?
@cgillum: I have an implementation for DTFx.AS v1, that's been recently superceded by @bachuv's re-implementation in DTFx.AS v2. My implementation has only been made available in private packages and has not been merged yet. The main blocker for @bachuv's PR today is for us to follow up on the action items we discussion after our internal design review: mostly removing some changes in DTFx.Core, and such.
I'm definitely interested in getting this moving again, but the group has been busy. I think at the very minimum what we should do is to in the open the remaining items for @bachuv's PR, and if the community wants to contribute those items, then I think we'd welcome it. @sig5 if you ping this thread again later this week, I can make sure to collect those remaining work items in case those are of interest/ you'd like to contribute to them. Does that sound like a good plan?
Yes, that sounds good @davidmrdavid ! Looking forward to contribute 😺.
Just linking the poison message handling PR here: https://github.com/Azure/durabletask/pull/1130
I know I owe you some details here, @sig5. Let me try to first get some clarity on the next steps, it's unclear to me if someone from the core team is already working on this.
As a rokochet of issue #1039 I've noticed that the message is being handled indefinitely. I see the following traces in my logs:
Notice the DequeueCount value of 79 (I've seen values much higher). Perhaps there should be a setting that controls the maximum number of dequeues attempts, after which the message should just be disposed?
@cgillum @davidmrdavid