Here are some documents that you could refer -developer.salesforce.com/blogs/2021/07/pub-sub-api-building-event-driven-integrations-just-got-even-easier -medium.com/salesforce-architects/announcing-pub-sub-api-generally-available-3980c9eaf0b7 -tech-lead.medium.com/grpc-vs-restful-api-vs-graphql-web-socket-tcp-sockets-and-udp-beyond-client-server-43338eb02e37 -developer.salesforce.com/docs/platform/pub-sub-api/guide/intro.html
hello, is there way to access stored events (24 or 72 h) without subscription to event ? is there a way to access them internally from salesforce or externally from other systems ? thank u
Hey Shaun, With PubSub API external applications can subscribe to events published by Salesforce Or external applications can publish an event which salesforce can consume. This can be done to make data consistency between external systems. But the scenerio you are talking about that separate lightning components on the same experience page can be acheived using Salesforce Lightning Messaging service and doesn't require pubSub API
@@samCoder Thanks for the reply. We've been using a small LWC for pubsub that is clean and easy to work with. I was hoping we might be able to consolidate cometD stuff + pubsub lwc using this new feature. Is it really intended for SF 3rd parties primarily? I noted your response to Scott F and was surprised that we couldn't (say) go from SF1 -> Mulesoft -> 3rd Party -> SF2 ? Maybe I misunderstood. Cheers.
@@shaunmcarthur3616 Yes Shaun. If there is an intermediary we can have a connection between two orgs. But Scott’s question was about direct SF to SF connection using PubSub Api or cometd. Here’s an article for reference salesforce.stackexchange.com/questions/208915/publish-and-or-subscribe-to-platform-events-between-separate-orgs
Here are some documents that you could refer
-developer.salesforce.com/blogs/2021/07/pub-sub-api-building-event-driven-integrations-just-got-even-easier
-medium.com/salesforce-architects/announcing-pub-sub-api-generally-available-3980c9eaf0b7
-tech-lead.medium.com/grpc-vs-restful-api-vs-graphql-web-socket-tcp-sockets-and-udp-beyond-client-server-43338eb02e37
-developer.salesforce.com/docs/platform/pub-sub-api/guide/intro.html
Is it possible for a SF to SF connection?
It sounds like it - the runtime is external to your org, if I understand correctly.
Hi Scott, it's not possible currently to the best of my knowledge.
@@samCoder Thank you for your answer.
hello, is there way to access stored events (24 or 72 h) without subscription to event ? is there a way to access them internally from salesforce or externally from other systems ? thank u
I assume I can talk to separate lightning components on the same experience page? Is that accurate?
Hey Shaun, With PubSub API external applications can subscribe to events published by Salesforce Or external applications can publish an event which salesforce can consume. This can be done to make data consistency between external systems. But the scenerio you are talking about that separate lightning components on the same experience page can be acheived using Salesforce Lightning Messaging service and doesn't require pubSub API
@@samCoder Thanks for the reply. We've been using a small LWC for pubsub that is clean and easy to work with. I was hoping we might be able to consolidate cometD stuff + pubsub lwc using this new feature.
Is it really intended for SF 3rd parties primarily? I noted your response to Scott F and was surprised that we couldn't (say) go from SF1 -> Mulesoft -> 3rd Party -> SF2 ? Maybe I misunderstood. Cheers.
@@shaunmcarthur3616 Yes Shaun. If there is an intermediary we can have a connection between two orgs. But Scott’s question was about direct SF to SF connection using PubSub Api or cometd.
Here’s an article for reference
salesforce.stackexchange.com/questions/208915/publish-and-or-subscribe-to-platform-events-between-separate-orgs
Hello Samarth Sir, can we take backup of Platform Event message(Records) via any API or by code
In Salesforce yes. You can create a after insert trigger on the Platform event and then save it a custom object for logging.
@@samCoder Thank you so much sir for the reply