[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-11-26 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
Finally, the PR merged into https://github.com/apache/bahir-flink/pull/22, 
thanks everyone for the review!


---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-11-21 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
Keep this PR open until https://github.com/apache/bahir-flink/pull/22 
merged.


---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-11-18 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
As mentioned above, moved the patch to Apache Bahir at 
https://github.com/apache/bahir/pull/54, resolve this one.


---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-06-14 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
@asdf2014 sorry for delayed response, will find some time to finalize this 
PR and propose to Bahir project .


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-06-14 Thread asdf2014
Github user asdf2014 commented on the issue:

https://github.com/apache/flink/pull/2487
  
@rmetzger Alright. Thank you for your asking, but i think our company still 
plan to use `Flink-CEP` and contributing `Bahir-Siddhi` feature is a huge job, 
so... I'm so sorry.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-06-14 Thread rmetzger
Github user rmetzger commented on the issue:

https://github.com/apache/flink/pull/2487
  
@asdf2014 I think there was never a PR for siddhi at the Bahir project.
But if you are interested, you could work on contributing it to bahir.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-06-09 Thread asdf2014
Github user asdf2014 commented on the issue:

https://github.com/apache/flink/pull/2487
  
@dianfu Great! Look forward to.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-06-09 Thread dianfu
Github user dianfu commented on the issue:

https://github.com/apache/flink/pull/2487
  
@asdf2014 We're currently working on integrating Flink Table & SQL API with 
CEP. It will add more capacity to the Flink cep library and also makes it more 
easily to use. An initial design doc can be got 
[here](https://docs.google.com/document/d/1HaaO5eYI1VZjyhtVPZOi3jVzikU7iK15H0YbniTnN30/edit#).
 The prototype and detailed design doc will come out very soon.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-06-09 Thread asdf2014
Github user asdf2014 commented on the issue:

https://github.com/apache/flink/pull/2487
  
Hi, @haoch @rmetzger . Why i cannot find `flink-siddhi` in 
[bahir](https://github.com/apache/bahir) or 
[bahir-flink](https://github.com/apache/bahir-flink)? In addition, the 
[flink-siddhi](https://github.com/haoch/flink-siddhi) still depence on `flink 
v1.1.2`. May i ask how long will i could use these advanced features of `Siddhi 
CEP` on flink... 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-02-21 Thread rmetzger
Github user rmetzger commented on the issue:

https://github.com/apache/flink/pull/2487
  
Cool, than you!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-02-21 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
@uce sure, will fix it and resend PR to Bahir.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2017-02-20 Thread uce
Github user uce commented on the issue:

https://github.com/apache/flink/pull/2487
  
@haoch What do you think about Robert's suggestion to move this to Bahir? 
Seems like a reasonable first step to me.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-10-24 Thread rmetzger
Github user rmetzger commented on the issue:

https://github.com/apache/flink/pull/2487
  
Hi @haoch, thanks alot for this contribution.

I recently started moving some of the streaming connectors of Flink to 
Apache Bahir, a community for extensions to Spark, Flink (and maybe others).
You wrote in an earlier comment:

>  I think it's both ok to keep this in the core or as an separated 
project, but the concern is it maybe better for community development to 
centralize qualified libraries togather.

I think Bahir is addressing this issue nicely. So far we added only 
streaming connectors to Bahir, but I would like to see libraries and other 
things build on top of Flink there as well.
I'm a committer at Bahir and can help you to get the code in there.
The Bahir repository is located here https://github.com/apache/bahir-flink

By the way, the tests you've added are failing on our CI system. Can you 
look into it? 
https://s3.amazonaws.com/archive.travis-ci.org/jobs/166483919/log.txt


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-09-21 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
@StephanEwen sure, that's all ok. :-)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-09-21 Thread StephanEwen
Github user StephanEwen commented on the issue:

https://github.com/apache/flink/pull/2487
  
That all sounds very good.
I would personally like it if this contribution would enter Flink in some 
way.

There have been thoughts and discussions one in a while about creating a 
dedicated sub-projects for libraries/extensions like this, or at least a 
dedicated repository under Flink. I think this would be a great opportunity to 
revive those discussions.

Let me start a thread on the mailing list.

@haoch I hope you are okay with waiting for a few days for that discussion 
to come to a conclusion.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-09-20 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
@StephanEwen thanks for the comments, I think it's both ok to keep this in 
the core or as an separated project, but the concern is it maybe better for 
community development to centralize qualified libraries togather. As an 
alternative solution for too test stability and dead code, may it possible to 
create another code repository say "flink-library"?

**BTW: here are the answers to your questions one by one:**

> How complete is the implementation?

Siddhi is a rich-featured CEP and has its own community, and maybe almost 
the only open source CEP solutions compatible with Apache License. And this 
library `flink-siddhi` is mainly focused on bring siddhi's capability to flink 
users seamlessly by:

- Integrate Siddhi CEP runtime with flink lifecycle
- Schema and DataStream source mapping
- State management and fault-tolerant.

So I think it would be extremely light-weight but useful, and the current 
implementation should be almost completed. 

> Would you be up for maintaining this code?

Sure, first of all, personally I am very willing to keep continuously 
contributing to Flink project in any way.  

And also we used siddhi with distributed streaming system a lot in 
production, and currently considering to support flink as well under 
consideration of better state management and window supporting. So I would 
continuously maintain the code if merged, it not, I would maintain at 
https://github.com/haoch/flink-siddhi as well to make sure it's workable.

> Are you building this as an experiment, or building a production use case 
based on Siddhi on Flink?

We use siddhi with streaming environment in production a lot, currently 
supports storm and spark streaming, and also consider extending to Flink.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-09-20 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
@mushketyk I have added lots of java docs as required in latest commit: 
https://github.com/apache/flink/pull/2487/commits/4699f9c3dfc4ce0a9837eb60579c76d50b346f03,
 please continue to help review.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-09-19 Thread StephanEwen
Github user StephanEwen commented on the issue:

https://github.com/apache/flink/pull/2487
  
Thank you for that big contribution. Siddhi looks like a cool approach to 
CEP.

Before digging into the details, I would like to start a discussion about 
whether we should have this as a part of the core Flink repository, as a 
subproject, or if it would be best to have it initially as an external project.

The reason is that that Flink repository is becoming a bit big right now. 
Build times are very long, test stability hard to manage, and there is quite a 
bit of "dead" code that was contributed by someone at some point but seems 
rarely used and is not maintained by the contributors.

To help have a good discussion, it would be great to learn a bit more:
  - How complete is the implementation? 
  - Would you be up for maintaining this code?
  - Are you building this as an experiment, or building a production use 
case based on Siddhi on Flink?

Thanks,
Stephan


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-09-12 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
@mushketyk thanks very much for reviewing, will fix as required soon.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-09-12 Thread mushketyk
Github user mushketyk commented on the issue:

https://github.com/apache/flink/pull/2487
  
Hi @haoch,

I think it would be beneficial if you write a few words describing your 
design or add more JavaDocs. This would make the review process more 
straightforward.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] flink issue #2487: [FLINK-4520][flink-siddhi] Integrate Siddhi as a light-we...

2016-09-09 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/flink/pull/2487
  
@apivovarov thanks very much for the comments. I have formatted all code as 
required. Pls. kindly help continue reviewing.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---