Data Collector Stream Connection

Example Snippets

The following snippets are examples of establishing a streaming connection to Gnip Data Collector. You may use them as a starting point, building them out to incorporate the other functionality that is important to your app.

Other Utilities

The following utilities are not built or maintained by Gnip, but may provide a jumping-off point for your app.


Ruby script for streaming data from a single Gnip EDC data feed. Streaming based on Curl::Easy gem.


Ruby script for streaming data from multiple Gnip EDC data feeds. Streaming based on (eventmachine)