on 2022 May 19 3:48 PM
In CDC to commerce cloud integration, the sync of User data happens at the time when customer logs in, even if there is no change in customer profile, Is it possible to write an extension to notify downstream systems if any change happens in customer profile in CDC then only update the commerce system.
Request clarification before answering.
Hi Devendra,
CDC webhooks are asynchronous, but the delay is usually around a second or two across the internet, it's like near real time messages. Being asynchronous means CDC doesn't have to wait for you application to respond before CDC can go ahead with the rest of its flow. Even if your application fails for some reason, CDC flow is not affected.
Extensions are synchronous, meaning CDC flow will pause and wait for your application to respond. So If you application fails or is slow and times out, CDC flow could fail as well, depending on the fallout policy. However network delay across the internet is always a problem, even with CDC extensions, your application could receive the https call from CDC extensions after a couple seconds. Nothing is really real time without any delay between two systems on the internet 🙂
Other than CDC extensions and webhooks, you can try Javascript parameters or UI event handlers. But you will have to write Javascript codes to send out CDC account change notifications to the downstream applications.
BTW SAP Commerce also supports webhooks, other systems like CDC can listen to item change events happening on the Commerce side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Devendra,
So CDC Extensions are not used in notification scenarios as they are synchronous https calls, which is used to extend CDC flows. While Webhooks can send asynchronous notification messages to downstream apps. In your Commerce app, you can create an OCC endpoint to receive or consume CDC webhook https calls whenever your CDC customer accounts change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samuel,
Thank you for guidance.
One of the critical case in my application is where CDC gets updates from other system(this info we cant get in hybris due to restrictions) if this update happens we need this information in hybris immediately, webhooks are asynchronous, and information could delayed. not sure about extensions, what are the other ways to do it, i would wonder if you could recommend some ideas here.
Regards.
Hi Devendra,
We also provide webhooks which provide the flexibility to capture those changes in downstream systems.
regards
Ibrahim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.