Archives

Salesforce Platform Events Streaming using Spring Boot

Create EmpConnector connection The first thing is to create a configuration that on startup will connect to the EmpConnector and start listing for incoming events on a specific topic. 1. Set all your Bayeux Parameters (bayeuxParameters) 2. Create EmpConnector connection (empConnector) 3. Start listening to topic (startAndPublishAsyncEventToExchange) 4. Adding listeners to the topic (startAndPublishAsyncEventToExchange) Basic […]

Rate this:

Read More

Run Spring Boot Scheduler as Heroku Worker

1. Setup Application 2. Setup Scheduler 3. Add Spring Boot dependency 4. Add Procfile 5. Scale Heroku worker 1. Setup Application 2. Setup Scheduler 3. Add Spring Boot dependency 4. Add Procfile 5. Scale Heroku worker

Rate this:

Read More