Skip to content

Instantly share code, notes, and snippets.

@pcon
Last active Nov 8, 2019
Embed
What would you like to do?
require 'restforce'
require 'faye'
Restforce.log = true
Restforce.configure do |config|
config.logger = Logger.new("/tmp/restforce.log")
config.log_leve = :info
end
client = Restforce.new
client.authenticate!
EM.run do
client.subscription '/event/LoginEventStream' do |message|
puts message.inspect
end
end
@samjglover
Copy link

samjglover commented Nov 8, 2019

Hey Patrick saw your post on the trailblazer community. I work with FairWarning, our platform is built to consume the data from event monitoring. We have customers who are already up and running with real time so it looks like we could save you a lot of time/reduce headaches going forward. My email is sam.glover@fairwarning.com, I would be happy to have a quick chat to see if we could be of use to you.

Feel free to check us out on the appexchange

@pcon
Copy link
Author

pcon commented Nov 8, 2019

@samjglover I'm not interested in using any project as I'm targeting adding this to the Open-source project Fluentd. If you have anyone that knows why this isn't working I'd be more than happy to talk with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment