Hi Steve, >From the stack trace, it seems like the socket channel is null. In the Java/Scala API, this is handled correctly through the getOrMakeConnection() method called inside the send API.
Are you using trunk or some 0.7 RC ? Also, I'm not too familiar with JRuby. Are you just calling kafka.javaapi.producer.SyncProducer in your code ? Thanks, Neha On Wed, Oct 26, 2011 at 8:32 AM, Steeve Morin <steeve.mo...@gmail.com> wrote: > Hi Folks, > > I've been having issues with Kafka 0.7 trying to send data, somethings (most > of the time, I get a NPE). > > All the info is on this gist: https://gist.github.com/1316588 > > I'm using JRuby. > > Thanks! > > -- > Steeve Morin > twitter.com/steeve > github.com/steeve > linkd.in/smorin >