Open curiousblueprints opened 5 years ago
Today I'm stubbing fayeClient's subscribe method and hardcoding my own channel name to make this work with nforce.
A more general streaming implementation is coming in 2.0 that addresses this. Stay tuned.
Any updates on version 2.0 ?
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
@kevinohara80 Please advise when CDC events support will be available in nforce?
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.