A simplified connector example to the Enterprise Messaging Platform.
This version has been updated to run on Heroku as a simple worker dyno.
Please note that this repository is example code and is not supported by Salesforce. This code has not been rigorously tested nor performance tested for throughput and scale.
This code is provided as an example only. The underlying CometD library is what provides the meat here, as EMP Connector is a thin wrapper around this library.
For more information about the components of the EMP Connector and a walkthrough, see the Java Client Example in the Streaming API Developer Guide.
Also visit the EMP Connector project that this was forked from.. has some excellent tips there too!