-
Notifications
You must be signed in to change notification settings - Fork 22
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
ProcessorOptions StartFromBeginning is not updating a Lease #84
Comments
Please provide more details about this issue (it's not clear what it's about), in particular, expected and actual behavior. |
If I understand correctly, StartFromBeginning will only apply if there are no Leases (or Leases have no Continuation Token). |
@ealsur I'm not sure I understand your point - even if I was using In other words, AIUI, there is no practical use for this property. If I'm correct, either the xmldoc is misleading or this feature needs to be deprecated. @CodeCheetah please provide mode context or close this issue (I think #123 is a duplicate of what you're asking, but nobody will ever know for sure unless you respond) |
@bartelink The property works as expected.
The flag works as expected, it is meant to be used on a first-start scenario (no Leases). Afterwards, the Processor picks up the last saved state if it gets stopped/started. |
Thanks @ealsur, that makes sense; I will verify. It does prompt the following for me:
|
@ealsur It seems (not doubting you, but wanted to verify) that you are correct |
I agree your citation is not stating any untruths. I also agree that, especially given one has read your clear response above, one is unlikely to misinterpret what it means. The problem is that I and the OP appear to have made the same misinterpretation of the docs. I'm saying that the docs should be reworded to make things more explicit - i.e. the docs are not failing a test, but they need to be refactored for clarity ;) (I'll see if I can craft something and post shortly...) |
The current wording can be misinterpreted to imply that given some complex set of poking in values that it can be made to do your bidding; your much less ambiguous explanation above makes it clear that this is incorrect. I'm suggesting that each of the three options have consistent wording added to underscore that
Ideally, given a resolution of #123, the text can also make it more explicit by replacing
with
|
Great suggestion! We can certainly review it if you want to send a PR with the text you consider better 😄 |
OK, will do
|
I agree with the text correction but any PR will be reviewed by the complete team 😄 |
Closing the issue as the behavior is as expected, in case that it's not behaving correctly with an empty leases collection, it can be reopened for investigation. |
Thanks - and thanks for closing ! |
ChangeFeedProcessorOptions is not updating the lease.
ChangeFeedProcessorOptions feedProcessorOptions = new ChangeFeedProcessorOptions { StartFromBeginning = startFromBeginning };
The text was updated successfully, but these errors were encountered: