Hi Roshan, I followed the steps from the sample and was able to obtain the output as shown in the documentation. The only possibility to obtain records as shown in your output is when you just persist the stream without enabling the Persist Attribute field under Payload Data Attributes. But then the event sink file will be as [1]. So can you please double check with a different stream and follow the same steps.
[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?><EventStoreConfiguration><TableSchema/><Source><StreamId>PRODUCTS_STREAM:1.0.0</StreamId></Source><RecordStoreName>EVENT_STORE</RecordStoreName></EventStoreConfiguration> Thanks, On Tue, Dec 8, 2015 at 9:34 AM, Inosh Goonewardena <in...@wso2.com> wrote: > Hi Roshan, > > Problem seems to be in adding data to original stemream through csv file. > Until we verify that step in the sample please move ahead by publishing > data to that stream using event simulator. > > > On Tuesday, December 8, 2015, Roshan Wijesena <ros...@wso2.com> wrote: > >> Hi Inosh, >> >> Thanks for the reply. Yes, I enabled the persistence. Stream definition >> and event sink XML files are attached. BTW how to find relevant spark >> script? >> >> >> On Mon, Dec 7, 2015 at 8:48 PM, Inosh Goonewardena <in...@wso2.com> >> wrote: >> >>> Hi Roshan, >>> >>> Did you enable the persistence for stream and it attributes properly? >>> Could you please share the Stream definition, event sink xml and spark >>> script. >>> >>> >>> On Tuesday, December 8, 2015, Roshan Wijesena <ros...@wso2.com> wrote: >>> >>>> Hi DAS team, >>>> >>>> I am trying to run the sample [1]. Even though there are no errors on >>>> the console, I could not see the data partially. See the screen shot. any >>>> idea why this is happening? >>>> >>>> [1] >>>> https://docs.wso2.com/display/DAS300/Sending+Notifications+Through+Published+Events+Using+Spark >>>> >>>> -- >>>> Roshan Wijesena. >>>> Senior Software Engineer-WSO2 Inc. >>>> Mobile: *+94719154640 <%2B94719154640>* >>>> Email: ros...@wso2.com >>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>* >>>> lean.enterprise.middleware. >>>> >>> >>> >>> -- >>> Thanks & Regards, >>> >>> Inosh Goonewardena >>> Associate Technical Lead- WSO2 Inc. >>> Mobile: +94779966317 >>> >>> >> >> >> -- >> Roshan Wijesena. >> Senior Software Engineer-WSO2 Inc. >> Mobile: *+94719154640 <%2B94719154640>* >> Email: ros...@wso2.com >> *WSO2, Inc. :** wso2.com <http://wso2.com/>* >> lean.enterprise.middleware. >> > > > -- > Thanks & Regards, > > Inosh Goonewardena > Associate Technical Lead- WSO2 Inc. > Mobile: +94779966317 > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Udani Weeraratne* Software Engineer - Intern WSO2 Inc.: www.wso2.com lean.enterprise.middleware Email: ud...@wso2.com Mobile: +94 775437714 LinkedIn: *https://lk.linkedin.com/in/udaniweeraratne <https://lk.linkedin.com/in/udaniweeraratne>* Blog : https://udaniweeraratne.wordpress.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev