Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Support for Change Data Capture #177

Open
curiousblueprints opened this issue Feb 27, 2019 · 5 comments
Open

Support for Change Data Capture #177

curiousblueprints opened this issue Feb 27, 2019 · 5 comments
Labels

Comments

@curiousblueprints
Copy link

Change Data Capture events are similar to Platform Events and Push Topics, except for the url of /data/* instead of /topic/* or /event/*. I'd love to be able to stream Change Data Capture events using nforce.

I've opened up #176 to support this, but if there is a better way to accomplish this I'm happy to help.

@dhulke
Copy link

dhulke commented Feb 28, 2019

Today I'm stubbing fayeClient's subscribe method and hardcoding my own channel name to make this work with nforce.

@kevinohara80
Copy link
Owner

A more general streaming implementation is coming in 2.0 that addresses this. Stay tuned.

@agouz
Copy link

agouz commented Mar 6, 2020

Any updates on version 2.0 ?

@dhulke
Copy link

dhulke commented Mar 6, 2020

Any updates on version 2.0 ?

I've created a new npm package called sforcejs based on the 2.0 version of this module with some additional features I needed like back pressure support.

In this new module, you can either pass channel: "/data/CaseChangeEvent" or isCDC:true with topic.

See if it helps: https://github.com/dhulke/sforcejs
npm: https://www.npmjs.com/package/sforcejs

@braj1999
Copy link

@kevinohara80 Please advise when CDC events support will be available in nforce?

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

No branches or pull requests

5 participants