Skip to main content

 I had some questions regarding Heroku.I have to backup of the event data from Salesforce in Heroku Postgre SQL using PubSub API GRPC or any other suitable options.

 

1. In order to Subscribe to platform event in Heroku do we need Apache kafka , even if make a node js Pub sub api client?

2. Can we pass the data from Salesforce to Heroku objects using HTTP Callouts?

3. Can we use outbound message to pass data from Salesforce to Heroku?

  @* Salesforce Developers *  @Philippe Ozil @Alba Rivas

2 respuestas
  1. 10 ago 2023, 11:35

    Hi Niket. Here are some answers:

    1. No, no need for Kafka. A Pub/Sub API client (node.js or other) can be enough. Kafka is only useful for working with very high volumes.
    2. I'm not sure about what you call Heroku objects but you can make HTTP callouts in both directions. On the Heroku side you have to implement an HTTP client/server though.
    3. Outbound messages might work but they are a thing of the past so I wouldn't invest in them. Instead you could use more modern alternatives like the HTTP flow actions.
0/9000