Great work Dinesh!
On Wed, Jun 18, 2014 at 3:05 PM, Imesh Gunaratne <im...@apache.org> wrote: > Great stuff!! Very neat code Dinesh! :-) > May be you could add some notes to the README file about the Thrift Python > packages that the client is referring, how they are maintained. > > > > On Wed, Jun 18, 2014 at 7:52 AM, Isuru Haththotuwa <isu...@apache.org> > wrote: > >> Great news! Awesome work Dinesh! >> >> >> On Wed, Jun 18, 2014 at 1:06 AM, Nirmal Fernando <nirmal070...@gmail.com> >> wrote: >> >>> 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/ >>> >> >> > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PPMC Member, Apache Stratos > -- *--* *Sajith Kariyawasam* *Mobile: +94772269575*