Norikra is an open-source Stream Processing Server with SQL.
- Schema-less event streams (called as 'target')
- SQL processing with window specifier supports, and JOINs, SubQueries
- Complex input/output events with nested Hashes and Arrays, and Query supports
- Dynamic query registration/removing, without any restarts
- Ultra fast bootstrap and small start
- UDF plugins
On JRuby environment, do these command (and, that all):
gem install norikra
To execute:
norikra start
For JRuby installation, you can use rbenv
, rvm
and xbuild
, or install JRuby directly.
- JRuby: http://jruby.org/
- rbenv: https://github.com/sstephenson/rbenv/
- xbuild: https://github.com/tagomoris/xbuild
See: http://norikra.github.io/
Fix code and tests:
- clone this repository
- run
bundle install
w/ jruby - add/fix spec in
spec/*_spec.rb
- fix code in
lib
- run
bundle exec rake
Run tests faster than 2 or more times:
- execute
spork
- execute
script/spec_server_pry
in another terminal - run
rspec
in pry console (executed fastly after second times)
Execute norikra server with target/query continuation:
bundle exec rake devserver
Ctrl-C
and re-execute for updated code
Use norikra-client
cli command. These are available on both of JRuby and CRuby.
https://rubygems.org/gems/norikra-client https://rubygems.org/gems/norikra-client-jruby
And the client library for application developers are also included in these gems.
https://github.com/norikra/norikra-client-ruby
For other languages:
See: http://norikra.github.io/
- v0.1.3:
- Fix critical bug about query de-registration
- v0.1.2:
- Fix CLI start command to detect jruby path collectly (behind rbenv/rvm and others)
- v0.1.1:
- Fix types more explicitly for users ('int/long' -> 'integer', 'float/double' -> 'float')
- v0.1.0:
- First release for production
- Copyright (c) 2013- TAGOMORI Satoshi (tagomoris)
- License
- GPLv2