norikra 0.0.24-java → 0.1.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -1,17 +1,12 @@
1
1
  # Norikra
2
2
 
3
- 'Norikra' is a CEP server implementation, based on Esper Java CEP Library, and have RPC handler over http.
4
-
5
- 'Norikra' provides basic features of Esper over RPC, and more flexible fields definition of event streams.
6
-
7
- * 2 or more different field sets with one abstract stream name (called 'target' in norikra)
8
- * query against 'target', not streams
9
- * queries will be executed with events in target, that have fields required for query
10
- * output event pool
11
- * you can fetch events when you want
12
- * streaming fetch connection (in future)
13
-
14
- And, easy to install/execute dramatically, and more, fully open source software.
3
+ Norikra is a open-source Stream Processing Server with SQL.
4
+ * Schema-less event streams (called as 'target')
5
+ * SQL processing with window specifier supports, and JOINs, SubQueries
6
+ * Complex input/output events with nested Hashes and Arrays, and Query supports
7
+ * Dynamic query registration/removing, without any restarts
8
+ * Ultra fast bootstrap and small start
9
+ * UDF plugins
15
10
 
16
11
  ## Install and Execute
17
12
 
@@ -21,7 +16,7 @@ On JRuby environment, do these command (and, that all):
21
16
 
22
17
  To execute:
23
18
 
24
- norikra
19
+ norikra start
25
20
 
26
21
  For JRuby installation, you can use `rbenv`, `rvm` and `xbuild`, or install JRuby directly.
27
22
 
@@ -32,21 +27,42 @@ For JRuby installation, you can use `rbenv`, `rvm` and `xbuild`, or install JRub
32
27
 
33
28
  ### Command line options
34
29
 
35
- To start norikra server:
30
+ To start norikra server in foreground:
36
31
 
37
32
  norikra start
38
33
 
39
- JVM options like `-Xmx` are available before norikra subcommand:
34
+ Norikra server doesn't save targets/queries in default.
35
+ Specify `--stats STATS_FILE_PATH` option to save these runtime configuration automatically.
36
+
37
+ norikra start --stats /path/to/data/norikra.stats.json
38
+
39
+ JVM options like `-Xmx` are available:
40
+
41
+ norikra start -Xmx2g
42
+
43
+ To daemonize:
40
44
 
41
- norikra -Xmx500m start
45
+ norikra start -Xmx2g --daemonize --logdir=/var/log/norikra
46
+ norikra start -Xmx2g --daemonize --pidfile /var/run/norikra.pid --logdir=/var/log/norikra
47
+ # To stop
48
+ norikra stop
42
49
 
43
- TBD (you can use `norikra -h`)
50
+ Performance options about threadings:
51
+
52
+ norikra start --micro # or --small, --middle, --large
53
+
54
+ For other options, see help:
55
+
56
+ norikra help start
44
57
 
45
58
  ## Clients
46
59
 
47
60
  Use `Norikra::Client` and `norikra-client` cli command. These are available on both of JRuby and CRuby.
48
61
 
49
- https://github.com/tagomoris/norikra-client
62
+ https://github.com/norikra/norikra-client-ruby
63
+
64
+ For other languages:
65
+ * Perl: https://github.com/norikra/norikra-client-perl
50
66
 
51
67
  ## Events and Queries
52
68
 
@@ -55,6 +71,8 @@ For example, think about event streams related with one web service (ex: 'www').
55
71
  norikra-client target add www path:string status:integer referer:string agent:string userid:integer
56
72
  norikra-client target list
57
73
 
74
+ Supported types are `string`, `boolean`, `int`, `long`, `float`, `double` and `hash`, `array`.
75
+
58
76
  You can register queries when you want.
59
77
 
60
78
  # norikra-client query add QUERY_NAME QUERY_EXPRESSION
@@ -88,7 +106,7 @@ Query 'www.search' matches the last event automatically.
88
106
 
89
107
  ## User Defined Functions
90
108
 
91
- UDF as plugins over rubygems are available. For example, see 'norikra-udf-mock' repository.
109
+ UDFs/UDAFs can be loaded as plugin gems over rubygems or as private plugins. For example, see 'norikra-udf-mock' repository.
92
110
 
93
111
  TBD
94
112
 
@@ -100,15 +118,11 @@ TBD
100
118
 
101
119
  ## Versions
102
120
 
103
- TBD
104
-
105
- ## TODO
106
-
107
- * daemonize
108
- * performance parameters
121
+ * v0.1.0:
122
+ * First release for production
109
123
 
110
124
  ## Copyright
111
125
 
112
126
  * Copyright (c) 2013- TAGOMORI Satoshi (tagomoris)
113
127
  * License
114
- * GPL v2
128
+ * GPLv2
@@ -1,3 +1,3 @@
1
1
  module Norikra
2
- VERSION = "0.0.24"
2
+ VERSION = "0.1.0"
3
3
  end
data/norikra.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["tagomoris@gmail.com"]
11
11
  spec.summary = %q{CEP engine/server with Esper and JRuby}
12
12
  spec.description = %q{CEP: Complex Event Processor with Esper EPL qeury language, messagepack rpc for inbound event data}
13
- spec.homepage = "https://github.com/tagomoris/norikra"
13
+ spec.homepage = "http://norikra.github.io/"
14
14
  spec.license = "GPLv2"
15
15
  spec.platform = "java"
16
16
 
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_runtime_dependency "rack"
24
24
  spec.add_runtime_dependency "thor"
25
25
  spec.add_runtime_dependency "msgpack-rpc-over-http-jruby", ">= 0.0.5"
26
- spec.add_runtime_dependency "norikra-client-jruby", ">= 0.0.7"
26
+ spec.add_runtime_dependency "norikra-client-jruby", "~> 0.1.0"
27
27
  spec.add_runtime_dependency "sinatra"
28
28
  spec.add_runtime_dependency "sinatra-contrib"
29
29
  spec.add_runtime_dependency "erubis"
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: norikra
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.24
5
+ version: 0.1.0
6
6
  platform: java
7
7
  authors:
8
8
  - TAGOMORI Satoshi
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-30 00:00:00.000000000 Z
12
+ date: 2013-11-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mizuno
@@ -79,15 +79,15 @@ dependencies:
79
79
  name: norikra-client-jruby
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - '>='
82
+ - - ~>
83
83
  - !ruby/object:Gem::Version
84
- version: 0.0.7
84
+ version: 0.1.0
85
85
  none: false
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ~>
89
89
  - !ruby/object:Gem::Version
90
- version: 0.0.7
90
+ version: 0.1.0
91
91
  none: false
92
92
  prerelease: false
93
93
  type: :runtime
@@ -358,7 +358,7 @@ files:
358
358
  - spec/typedef_spec.rb
359
359
  - views/base.erb
360
360
  - views/index.erb
361
- homepage: https://github.com/tagomoris/norikra
361
+ homepage: http://norikra.github.io/
362
362
  licenses:
363
363
  - GPLv2
364
364
  post_install_message: