function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Cloud AtlasCloud Atlas 

Building service for Kafka to push data into Salesforce

Hi,
Does anyone know how to build a service which allows Kafka to push data into Salesforce?
Or maybe a service where Salesforce listens to Kafka changes via api and creates a record in one or more objects?
Any help is appreciated.
Thanks!
SwethaSwetha (Salesforce Developers) 
I believe this can be possible with the Change data capture in salesforce. 
This involves posting a message in Message Bus which an external system is listening. 

See more details here: https://developer.salesforce.com/docs/atlas.en-us.change_data_capture.meta/change_data_capture/cdc_intro.htm

https://salesforce.stackexchange.com/questions/362844/how-to-capture-changes-via-api-with-minimal-setup

https://salesforce.stackexchange.com/questions/232028/notifying-salesforce-changes-to-external-rest-api-services

If this information helps, please mark the answer as best. Thank you
Cloud AtlasCloud Atlas
Hi Swetha,

I believe my requirement is reverse.
Change Data Capture would kick in when there is change in a record, within SF.
Here Kafka will be publishing changes and SF needs to get that data from Kafka.
So Change Data Capture wouldn't work as SF will never know a record has been updated.
Let me know if I am mistaken somewhere.