Great work Dinesh!
On Wed, Jun 18, 2014 at 12:18 AM, Dinesh Bandara <dine...@wso2.com> wrote: > Hi all, > > I was able to connect and publish events to CEP using a python thrift > client. Please find the sample client code [1] > > [1] https://github.com/dineshbandara/thrift-python-client > > Thanks, > > > On Mon, Jun 16, 2014 at 9:56 AM, Dinesh Bandara <dine...@wso2.com> wrote: > >> >> On Mon, Jun 16, 2014 at 9:28 AM, Lahiru Sandaruwan <lahi...@wso2.com> >> wrote: >> >>> +1 for a lightweight agent. >>> >>> AFAIR blocker for #2 was reading message headers. We might need to >>> address that as first step for #2. >>> >>> Sometimes back I had worked with some message broker clients which use >> AMQP. As you mentioned blocker was sending and reading message headers. >> Will work on it to find a proper solution >> >> Thanks. >>> >>> >>> On Mon, Jun 16, 2014 at 9:17 AM, Dinesh Bandara <dine...@wso2.com> >>> wrote: >>> >>>> Hi Devs, >>>> >>>> We have discussed about the importance of a light weight cartridge >>>> agent in several mail threads since existing agent had been written in Java >>>> and running a Java runtime inside a cartridge instance is a performance >>>> overhead as well as a costly operation. Here I would like to initiate that >>>> (writing a Python based cartridge agent) with the requirements which mainly >>>> required for it. >>>> >>>> First of all we have to implement Python clients for the communication >>>> mechanisms used in agent. Cartridge agent mainly use two communicate >>>> mechanisms, >>>> >>>> 1. Communicate with Complex Event Processor using thrift >>>> 2. Communicate with Message Broker using AMQP >>>> >>>> To full fill the requirement #1, we have to write a python thrift >>>> client and I'm currently working on it. >>>> >>>> Highly appreciate your thoughts on this. >>>> >>>> Thanks, >>>> -- >>>> *Dinesh Bandara* >>>> Software Engineer >>>> WSO2 Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> >>> >>> >>> -- >>> -- >>> Lahiru Sandaruwan >>> Committer and PMC member, Apache Stratos, >>> Senior Software Engineer, >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> email: lahi...@wso2.com cell: (+94) 773 325 954 >>> blog: http://lahiruwrites.blogspot.com/ >>> twitter: http://twitter.com/lahirus >>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>> >>> >> >> >> -- >> *Dinesh Bandara* >> Software Engineer >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> >> > > > -- > *Dinesh Bandara* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/