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

Salesforce Streaming Api using Spring MVC

Check out my Salesforce Streaming Spring MVC project http://cloudsole-streaming.herokuapp.com/ Find the code here: https://github.com/thysmichels/cloudsole-force.com-streaming-web Using Salesforce Streaming in Java project: Push Topic Factory Streaming Service

Rate this:

Read More

Running local mrjob streaming hadoop jobs

Follow the steps below to run an local mrjob. In this example I run an mrjob to calculate word frequency. Prereq: Needs python 2.6 or 2.7 installed this to work. Step 1. Download mrjob: https://github.com/Yelp/mrjob Step 2. Navigate to Yelp/mrjob/examples in your terminal Step 3: Create a Dataset download a dataset from http://www.infochimps.com. Step 4: […]

Rate this:

Read More