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

Better change feed support #48

Closed
christopheranderson opened this issue Jul 13, 2018 · 3 comments
Closed

Better change feed support #48

christopheranderson opened this issue Jul 13, 2018 · 3 comments
Assignees
Labels
feature Adds or changes functional behavior v3
Milestone

Comments

@christopheranderson
Copy link
Contributor

christopheranderson commented Jul 13, 2018

Right now you have to know how to set the options on items.readAll() in order to get change feed type support. We should support the ChangeFeedQuery type of format that .NET has (https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed#using-the-sdk)

We should also evaluate creating the equivalent of the ChangeFeedProcessorHost that .NET has to make the experience even easier.

Related issues: #265

@christopheranderson christopheranderson added the feature Adds or changes functional behavior label Jul 13, 2018
@christopheranderson christopheranderson added this to the Post GA milestone Jul 13, 2018
@Marsup
Copy link

Marsup commented Sep 25, 2018

Hi @christopheranderson, in the meantime I have some troubles finding any resources about how to set the options on items.readAll(), do you have any snippet to share to understand how it could be done with present SDK? I set a_im but that's probably not enough, right ?

@christopheranderson
Copy link
Contributor Author

This is the current best sample I have for this: https://github.com/Azure/azure-cosmos-js/blob/master/src/test/integration/incrementalFeed.spec.ts#L41

I might spend some time on this later this week. I'm trying to clean up a lot of docs/etc. this week, which mainly means a lot more samples.

@christopheranderson
Copy link
Contributor Author

Change feed feature issue created here: Azure/azure-sdk-for-js#4808

Closing this issue as the other points have been resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adds or changes functional behavior v3
Projects
None yet
Development

No branches or pull requests

3 participants