Skip to main content Join the Agentforce Virtual Hackathon to build innovative solutions and compete for a $50k Grand Prize. Sign up now. Terms apply.
Group

Official: Change Data Capture

This group is the official discussion forum for customers and partners who are using Change Data Capture. It's a forum for customers to provide feedback, requirements and share ideas. Customers may also leverage this group to collaborate with each other on best practices. This group is maintained and moderated by a salesforce.com employee(s). The content received in this group falls under the official Safe Harbor. Please also see our official Salesforce Customer Community Terms of Use

New in Salesforce Pub Sub API !!

 

Managed Events Subscriptions postman collection is now available in Salesforce Platform APIs postman collection within Event Platform folder. Use the new collection to directly create, update, and list managed subscriptions via Postman. And don't forget to provide us with your valuable feedback using this form. 

Read more in the Release Notes that went live today.

0/9000

Hello community!

 

Sincerely hoping that you got a chance to try out the latest release on Salesforce Pub/Sub API - Managed Subscriptions (beta). Please provide us feedback via this google form on the feature and help refine it for its GA release. Read more in this blog post to learn about it - Pub/Sub API Made Easy via Managed Subscriptions (Open Beta)

 

Thank you!

0/9000
0/9000

Managed Subscriptions (Beta) for Pub/Sub API are available in Summer ' 24 release starting today. 

 

The wait is over. Stop worrying about where your subscribers are in the event stream with Managed Subscriptions. Let Pub Sub API track your last processed ID and simplify your code. Learn more in this blog post,  watch this demo or take a read of the updated developer guide with examples going live this afternoon. Give it a try and provide us with feedback on our GitHub repo for Pub/Sub API or in this community group itself.

0/9000

Hello friends. 

I am working on setting up an event relay with aws event bridge. Using this document: https://help.salesforce.com/s/articleView?id=sf.ev_relay_activate_eventbridge_bus.htm&type=5

 

We are up to step 6, which is where we have the salesforce eventrelay as a partner resource in aws and we now need to 'Associate with event bus'.   We receive an error message when trying to make this association. 

 

The error message is not helpful. It simply says that association cannot be made. So, hopefully someone in this community has seen it before and can share some ideas.  Thanks! @Salesforce Integration

2 answers
  1. Jun 3, 2024, 9:08 PM

    Hey Andy, sorry you ran into trouble for a moment there. I'm not sure what happened on the EventBridge side. My best guess is that there could have been a temporary issue with the EventBridge that took a moment to work itself out. 

     

    It shouldn't have anything to do with the initial status of the Relay (Run, Stop, etc). If you run into this again, you could file a case with AWS and I can ping the EventBridge team to look into it. 

0/9000

Hello platform events enthusiasts,

 

@Tyson Read and myself are looking for partners who are excited to share their Pub/Sub API journey on the  Dreamforce stage with us for a real-time collaborative and inspiring DF session for our developer audience. It would be a big plus if you are looking forward to using our latest upcoming beta feature "Managed Subscriptions" to automatically manage the replay Ids of your subscriptions, to make for a great end to end example.

 

Stay tuned and please watch out this space for more release news on Managed Subscriptions (open Beta)

0/9000

Consider a scenario where a transaction with the key "00000a82-7f3f-1c17-2bd3-7c636bd96311" is initiated. The transaction involves creating a case followed by creating an email message. Salesforce commits changes and begins sending CDC(Change Data Capture) events. But what happens if an internal error occurs while sending a CDC for the email message? Salesforce will send a gap create event for this change, raising two key questions:

  1. Will the gap event also have the same transaction key "00000a82-7f3f-1c17-2bd3-7c636bd96311," or will it be assigned a different transaction key?
  2. Will the order of the change events be maintained, meaning the first CDC event will be the create event for the case followed by the gap event for the email message, or can these events be disordered?
0/9000
1 answer
  1. Sushil Kumar (UKG) Forum Ambassador
    Jan 30, 2024, 1:54 PM

    You may need to look into Pub/Sub API, That is different than COMET D based client. As per documentation, If you subscribe via Pub/Sub API, You will also receive unchanged fields. So in your case, it will work as you want to receive unchanged external id field as well. You can read more here - https://developer.salesforce.com/docs/atlas.en-us.change_data_capture.meta/change_data_capture/cdc_event_fields_body.htm

0/9000

Coming Soon - Managed Subscriptions for Pub/Sub API

 

Looking for an easier way to resubscribe from where you left off without having to write custom code to track last processed platform events? We will track your ReplayIDs so you can easily use ReplayID subscription option without extra efforts. 

 

Use the new ManagedSubscribe RPC method to track the ReplayID so events will not be missed; and once reconnected, clients will start receiving events from where they disconnected. 

Read more in the Release Notes here and stay tuned for more updates. 

0/9000

CarePlan has a master detail with Case, but I havent been able to find a way to get CDC events to trigger when the child record is edited?

 

Is this something that can be enabled through backend or a more wide spread change?

 

We will have to build a whole custom events based integration solution if these objects are not supported.

 

@Jay Hurst @A.A. Ron?

1 answer
  1. Nov 30, 2023, 12:34 AM

    Hello @Gaurav Thakur,

     

    Each standard object in Salesforce needs to be enabled for CDC by the feature teams that own the objects.  Unfortunately, it is not something that can be enabled through a backend settings change.

     

    The best way forward for these objects would be to work with the Health Cloud team to get these enabled.  If you log and idea on the IdeaEcxchange, I can reach out to the PMs to see what it would take to get the enablement prioritized.

     

    Hope this helps.

    Jay

0/9000