Skip to content

Instantly share code, notes, and snippets.

@badmetacoder
Created November 1, 2012 17:17
Show Gist options
  • Save badmetacoder/3995133 to your computer and use it in GitHub Desktop.
Save badmetacoder/3995133 to your computer and use it in GitHub Desktop.
elasticsearch-connector
PushDefinition pd = u.createPushDefinition()
pd.setOutputType('elasticsearch')
pd.setOutputParam('host', 'elasticsearch.example.com')
pd.setOutputParam('db_name', 'twitter')
pd.setOutputParam('type', 'tweet')
pd.validate()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment