GithubHelp home page GithubHelp logo

cassandra-river's Introduction

Cassandra river for Elastic search.

This river was a proof of concept for integration of cassandra with elasticsearch, its a 2 day hacked up solution.

##Setup

Build: mvn clean package

Install: ./bin/plugin -url file:elasticsearch-river-cassandra/target/releases/elasticsearch-river-cassandra-1.0.0-SNAPSHOT.zip -install river-cassandra

Remove: ./bin/plugin -remove river-cassandra

##Init

curl -XPUT 'localhost:9200/_river/prodinfo/_meta' -d '{
    "type" : "cassandra",
    "cassandra" : {
		"cluster_name" : "test-cluster",
		"keyspace" : "catalogks",
		"column_family" : "info",
		"batch_size" : 1000,
		"hosts" : "host1:9161,host2:9161",
		"username" : "username",
		"password" : "password"
    },
    "index" : {
        "index" : "prodinfo",
        "type" : "product"
    }
}'

##Query

  1. localhost:9200/info/_search
  2. localhost:9200/info/_count

##References

  1. http://jfarrell.github.com/
  2. Setup elasticsearch-head and bigdesk to monitor ES

##Improvements

  1. http://mail-archives.apache.org/mod_mbox/cassandra-user/201303.mbox/%[email protected]%3E
  2. https://groups.google.com/forum/?fromgroups=#!topic/elasticsearch/M1aJqvAIpZE
  3. Tests

cassandra-river's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.