Re: [Dev] [CEP] Dynamic key and values support in CEP output adapter

2016-06-12 Thread Malaka Silva
Hi Rajjaz, Firstly dynamic path is something we should consider in the initial version? If so you will be passing the key dynamically? Why can't we simply pass the value itself dynamically and make the default value from parameter? On Fri, Jun 10, 2016 at 4:49 PM, Mohanadarshan

Re: [Dev] [CEP] Dynamic key and values support in CEP output adapter

2016-06-10 Thread Mohanadarshan Vivekanandalingam
On Fri, Jun 10, 2016 at 3:13 PM, Rajjaz Mohammed wrote: > Hi, > > I'm planning to follow the same approach followed in CEP kafka input event > adapter to get optional configuration properties. > > @Mohanadharshan > WDYT? > If that is the requirement then +1.. Thanks, Mohan >

Re: [Dev] [CEP] Dynamic key and values support in CEP output adapter

2016-06-10 Thread Rajjaz Mohammed
Hi, I'm planning to follow the same approach followed in CEP kafka input event adapter to get optional configuration properties. @Mohanadharshan WDYT? [1] https://docs.wso2.com/display/CEP300/Input+Kafka+Event+Adapter#InputKafkaEventAdapter-ConfiguringinputKafkaeventadapter

Re: [Dev] [CEP] Dynamic key and values support in CEP output adapter

2016-06-10 Thread Rajjaz Mohammed
Hi, Currently, FileWriter will Save the events in given file but As we discussed I need to add events to different files based on some unique keys from the single stream. So we need to keep unique value and the file name belongs to the unique key. How this possible in CEP output adapter? On Fri,

Re: [Dev] [CEP] Dynamic key and values support in CEP output adapter

2016-06-10 Thread Yashothara Shanmugarajah
Hi, In CEP output adapter, we give values for predefined parameters. But we cant add dynamic parameters and values for that parameters. Is there any way to add dynamic parameters when we configure output adapter? Through that we can give parameter name and values. @Rajjaz Please clarify whether

Re: [Dev] [CEP] Dynamic key and values support in CEP output adapter

2016-06-10 Thread Mohanadarshan Vivekanandalingam
HI Rajjaz, I am not clear about your requirement.. Can you explain your requirement please ? Thanks, Mohan On Fri, Jun 10, 2016 at 11:21 AM, Rajjaz Mohammed wrote: > Hi All, > > I'm developing File event publisher as an analytics extension. I have the > requirement to get

Re: [Dev] [CEP] Dynamic key and values support in CEP output adapter

2016-06-10 Thread Rajjaz Mohammed
Hi All, In WSO2 ESB custom inbound we can add parameter and parameter value dynamically[1]. Can we do the same operation like this[1] in CEP? if so we can achieve the requirement from it. [1] [image: Inline image 1] On Fri, Jun 10, 2016 at 11:21 AM, Rajjaz Mohammed wrote: >

[Dev] [CEP] Dynamic key and values support in CEP output adapter

2016-06-09 Thread Rajjaz Mohammed
Hi All, I'm developing File event publisher as an analytics extension. I have the requirement to get the key and values dynamically. How can achieve this in CEP? any idea? eg: uniqueID1--> filePath1 uniqueID2--> filePath2 uniqueID3--> filePath3 uniqueID4--> filePath4 -- Thank you Best