Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-06 Thread Sajith Ravindra
> > I think we should update documentations because provided steps are not > work for some kafka/scala versions. WDYT? > Yup, we'll need to update the documentation. Thanks *,Sajith Ravindra* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273550

Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-06 Thread Charitha Goonetilleke
Hi All, Thank you very much for the thoughts & suggestions. After went through the discussion, I have followed steps suggested by Grainier and was able to add kafka receiver without any issue. Btw, apart from proving the jar, I think we should update documentations because provided steps are not

Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-06 Thread Sajith Ravindra
> > +1. I think building a proper jar with the correct dependencies would be > good since that way we can use the latest version of Kafka. WDYT? > > I think we need to do this and provide the jar as this effectively prevents DAS from being used with newer versions of Kafka. Thanks *,Sajith

Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-05 Thread Grainier Perera
As +sajith mentioned, DAS already have scala 2.10.x packed for spark. And Kafka packs two binary builds for multiple versions of Scala (Scala 2.10/Scala 2.11) [1]. So, you should use kafka_2.10-0.9.0.1.tgz and copy it's jar files as dependencies, and when adding dependencies to /components/lib/,

Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-05 Thread Lasantha Fernando
On 5 June 2016 at 23:52, Mohanadarshan Vivekanandalingam wrote: > > > On Sun, Jun 5, 2016 at 11:33 PM, Sajith Ravindra wrote: > >> It seems Spark has a dependency on scala-library_2.10.4 and this jar is >> already included in DAS pack, therefore copying

Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-05 Thread Mohanadarshan Vivekanandalingam
On Sun, Jun 5, 2016 at 11:33 PM, Sajith Ravindra wrote: > It seems Spark has a dependency on scala-library_2.10.4 and this jar is > already included in DAS pack, therefore copying scala-library-2.11.7.jar as > per the documentation will lead to a conflict. I tested deleting >

Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-05 Thread Sajith Ravindra
It seems Spark has a dependency on scala-library_2.10.4 and this jar is already included in DAS pack, therefore copying scala-library-2.11.7.jar as per the documentation will lead to a conflict. I tested deleting

[Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-03 Thread Charitha Goonetilleke
Hi, I'm trying to add kafka event receiver by following steps in the documentation[1] with Kafka 2.11-0.9.0.1. I'm getting following error when tried to Add a Kafka Event Receiver. [2016-06-04 01:25:42,815] ERROR {org.wso2.carbon.event.receiver.core.EventReceiverDeployer} - Event Receiver not