You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/07 18:24:00 UTC

[jira] [Commented] (FLINK-4303) Add CEP examples

    [ https://issues.apache.org/jira/browse/FLINK-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505046#comment-16505046 ] 

ASF GitHub Bot commented on FLINK-4303:
---------------------------------------

GitHub user kisimple opened a pull request:

    https://github.com/apache/flink/pull/6136

    FLINK-4303] [CEP] Add CEP examples

    ## What is the purpose of the change
    
    Currently neither CEP Java nor CEP Scala contain a runnable example. This PR fixes the problem by adding a `flink-examples-cep` module. The change is based on #2937
    
    ## Brief change log
    
      - Add a `flink-examples-cep` module
      - Add a `TemperatureMonitoring.java` example
      - Add a `TemperatureMonitoring.scala` example
    
    ## Verifying this change
    
      - Build the project and run the example by the following commands:
    `./bin/flink run -c org.apache.flink.cep.examples.java.monitoring.TemperatureMonitoring ./examples/cep/flink-examples-cep-with-dependencies.jar`
    and
    `./bin/flink run -c org.apache.flink.cep.examples.scala.monitoring.TemperatureMonitoring ./examples/cep/flink-examples-cep-with-dependencies.jar`
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
      - The S3 file system connector: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kisimple/flink FLINK-4303

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/6136.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6136
    
----
commit f9f382780e0975c83f2a957132c1c09c769cf3a3
Author: Aleksandr Chermenin <al...@...>
Date:   2016-12-05T09:44:39Z

    [FLINK-4303] Added examples for CEP library.

commit 7b96b9d5ffd221c0ff4169ac84c601eb34f95876
Author: Aleksandr Chermenin <al...@...>
Date:   2016-12-05T10:09:50Z

    [FLINK-4303] Fixed code style.

commit f26e7f403b7d7a74cd9a0d129086468789aa2747
Author: Aleksandr Chermenin <al...@...>
Date:   2016-12-05T10:28:59Z

    [FLINK-4303] Another small code style fix.

commit 3a214a38f4cda5a3e965ce4512b960ac5a7fe59f
Author: Aleksandr Chermenin <al...@...>
Date:   2016-12-05T11:24:14Z

    [FLINK-4303] Fixed Scala code style.

commit 134492dc23a5eaa2173669ed213c3f933dcc4391
Author: Aleksandr Chermenin <al...@...>
Date:   2017-02-22T06:59:28Z

    [FLINK-4303] Fixed hashCode methods for events.

commit ccf26763acf363134ef4bfa5127c36af226a3ed2
Author: blueszheng <ki...@...>
Date:   2018-06-07T17:35:18Z

    [FLINK-4303] Add CEP examples

----


> Add CEP examples
> ----------------
>
>                 Key: FLINK-4303
>                 URL: https://issues.apache.org/jira/browse/FLINK-4303
>             Project: Flink
>          Issue Type: Improvement
>          Components: CEP
>    Affects Versions: 1.1.0
>            Reporter: Timo Walther
>            Assignee: blues zheng
>            Priority: Major
>
> Neither CEP Java nor CEP Scala contain a runnable example. The example on the website is also not runnable without adding some additional code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)