Skip to content

Commit

Permalink
Modify dependency section
Browse files Browse the repository at this point in the history
  • Loading branch information
haoch committed Sep 11, 2016
1 parent c188ef1 commit 979ac98
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,24 @@ This project is mainly to provide a light-weight library to easily run Siddhi CE

## How to Use

* Add `flink-siddhi` in maven dependency:

<dependency>
<groupId>com.github.haoch</groupId>
<artifactId>flink-siddhi</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
* Add `flink-siddhi` into project dependencies

<dependencies>
<dependency>
<groupId>com.github.haoch</groupId>
<artifactId>flink-siddhi</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>

<repositories>
<repository>
<id>clojars</id>
<url>http://clojars.org/repo/</url>
</repository>
</repositories>

* Start using API from `SiddhiCEP`, for example:
* Execute SiddhiQL on DataStream with `SiddhiCEP` API, for example:

StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
SiddhiCEP cep = SiddhiCEP.getSiddhiEnvironment(env);
Expand Down

0 comments on commit 979ac98

Please sign in to comment.