kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Bejeck <b...@confluent.io>
Subject Re: Classloading Error with Kotlin and Streams
Date Mon, 11 Sep 2017 18:31:47 GMT
Hi Avi,

I've done a little digging. Unfortunately, I don't have any answers at this
point.

Here's what I did:

   1.  I replicated your CLI command in a standalone class
   (TestDeserializerLoader.kt in IntelliJ) and created an uber-jar file.  I
   can reproduce your error with "kotlin -cp <path-to-jar>
   TestDeserializerLoader"
   2. If I execute the same command with java, everything works (no big
   surprise there!)
   3. To see what classes the programs load,  I added the
   -J-verbose:class/-verbose:class flag to the kotlin/java processes
   respectively and captured the results in a file.
   4. I grepped for 'serialization, ' and in both files, there is the
   following line [Loaded
   org.apache.kafka.common.serialization.Serdes$ByteArraySerde from
   file:<FileName>]

I've attached the serialization classes loaded from both commands.

For us to go further, I think you'll need to put a JIRA ticket in, sorry
this isn't very helpful at this point.

Thanks,
Bill

On Mon, Sep 11, 2017 at 10:53 AM, Avi Flax <avi.flax@parkassist.com> wrote:

>
> > On Sep 8, 2017, at 17:57, Bill Bejeck <bill@confluent.io> wrote:
> >
> > I'm not super familiar with Kotiln, but I'm taking a look.
>
> Thanks Bill! I appreciate the help, and I look forward to your findings.
>
> Avi
>
>
> ————
> Software Architect @ Park Assist » http://tech.parkassist.com/
>

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message