Import events(datas) in NEsper engine - complex-event-processing

can anyone tell me how to import the events(datas) in NEsper engine to analyse whether pattern is catched or not?
I've already set and defined the pattern I want to catch and the event types(event class) and configured the runtime engine. Now I want to import my datas in the engine to analyse.
Is there any interface oder rest API or something provided by NEsper I can use to import data in CEP NEsper engine?
how can I do it?
thanks for any help!
Best regards, Narsu

I seems covered in the "Getting Started text".
It is just runtime.getEventService().sendEvent...(...)
Also check the examples

Related

Talend control bus component

I'm currently trying to figure out how to use the control bus component in Talend but I can't find any example on the internet. I can't access component directly like a cMessagingEndpoint for example. I tried many things but none of them work, I'm not really a Talend specialist.
If anyone could tell me what I have to do to use this component in order to monitor serveral routes, it would be very helpful.
Thanks to anyone who will try to help ;)
Found a way by putting a cMessagingEndpoint with this : "controlbus:route?action=stats". Good to know that in my case, each route has its own context si I can't get any stats from another route.

Document4j support for other ms word like applications

I want to convert ms office documents to pdf. I thought of using document4j for that. But I could see that we need msoffice setup to make it work. Can we somehow use open-office or other libre-office for doing the same work. MSOffice cost is much high so want to use something open-source.
Any help would be greatly appreciated.
Thanks in advance.
You can implement your own converter by implementing the IExternalConverter API. You could for example delegate to Open Office. No such implementation exists currently but by implementing the interface, you can activate the API and use all of documents4j client and server implementations.

IBM DataConnect refine operations

The supported list of transformations in IBM's ETL service DataConnect in Bluemix Cloud are these ones here: https://console.ng.bluemix.net/docs/services/dataworks1/using_operations.html#concept_h4k_5tf_xw
I have looked and looked but with no luck, what if I want to transform some of my data with an operation that is not included here? For example run custom code in a column and get some specific output?
Data Connect does not currently support refine operations outside of those provided with the service. We are adding new features and functionality weekly, but if you have a specific operation in mind, please let us know.
I will find out for you if we have the ability to execute custom code on our roadmap.
Regards,
Wesley - IBM Bluemix Data Connect Engineering
As Wes mentions above in the short term we will continue to add new data preparation and transformation capabilities to the service. Currently there is no extensibility that allows you to code new transformations.
In the longer term we are considering allowing users to edit/extend pipelines using languages like Scala and Python. We don't have a defined date for these new capabilities.
Regards,
Hernando Borda
IBM Bluemix Data Connect Product Manager

Actual use case scenario of Drools in Talend

Can anyone explain me what is actual use case of Drools in Talend. I am trying to learn Drool as I use Talend for Data management. But every tutorial or instruction set I find on internet are just copy of official Drool documentation.
I want to see drool in action (say, example based on Employee master and so on). The reason is that though, I am able to create basic conditions in drools, I can't figure out how to actually implement it.
Can anybody help me with it?
Yes you can use drools rule in Talend.
For Talend Open studio you have to write java code to integrate Drools in Talend.
If you are using enterprise version then go to the repository>>metatadata>>rules
there you can create rules and then it can be used in Talend Job flow.
For more information read about tRule component.

How to import data into Realm

I would like to import data into Realm. Actually Realm browser can add objects, but it will take much time. Does anyone have idea about that?
Thank you in advance.
Your best bet is probably just to write a bare-bones app that does the importing, using the normal Realm API.