In meetup we said that KAFKA-1650 and follow up patches is included in
0.8.2, but it seems not on the list.
To view this discussion on the web visit https://groups.google.com/d/msgid/kafka-clients/CAFc58G9pGUpo7jp4BXY3Y_doPTzZiJKRCPPY-oYj1sqAapUx-Q%40mail.gmail.com.--
You received this message because you are subscribed to the Google Groups "kafka-clients" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kafka-client...@googlegroups.com.
To post to this group, send email to kafka-...@googlegroups.com.
Visit this group at http://groups.google.com/group/kafka-clients.
Hello,
I have read Broker.scala source code, and I found the answer:
- With Kafka 0.8.1.1 we used Broker.getConnectionString() in our Java code.
- With Kafka 0.8.2.0, this method has been replaced by a 0-arity method
without the "get" prefix, so we have to change our Java code to call
Broker.connectionString()
So despite binary compatibility is broken, we have a by-pass.
I hope this will help other people relying on this API...
and I'm going to continue tests with 0.8.2 rc3..
Alex
2015-01-31 21:23 GMT+01:00 Alex The Rocker <alex....@gmail.com>:
> Hello,
>
> I ran my own tests made with kafka_2.10-0.8.1.1.tgz binaries with our
> application:
>
> 1st test:
> ======
> replace all kafka .jar files in our application on consumming side
> (without recompiling anything)
> => tests passed, OK
>
> 2nd test:
> =======
> replace all kafka .jar files in our application on producubg side
> (without recompiling anything)
> => KO, we get this error:
>
> 2015-01-31 20:54:00,094 [Timer-2] ERROR c.d.i.t.StdOutErrRedirect -
> Exception in thread "Timer-2"
> 2015-01-31 20:54:00,111 [Timer-2] ERROR c.d.i.t.StdOutErrRedirect -
> java.lang.NoSuchMethodError:
> kafka.cluster.Broker.getConnectionString()Ljava/lang/String;
>
> Which means that binary compatibility with 0.8.1.1 version has been broken.
> We use getConnectionString() to get Broker's zookeepers adresses, see this
> answer from Neha:
>
>
> http://mail-archives.apache.org/mod_mbox/kafka-users/201404.mbox/%3CCAOG_4QYnWrB=TmRTCRyF8-PdAgY_CGF...@mail.gmail.com%3E
>
> If the kafka.cluster.Broker.getConnectionString() method has been removed
> with Kafka 0.8.2.0, then what is the suitable replacement for it ?
>
> Thanks
> Alex
--
You received this message because you are subscribed to the Google Groups "kafka-clients" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kafka-client...@googlegroups.com.
To post to this group, send email to kafka-...@googlegroups.com.
Visit this group at http://groups.google.com/group/kafka-clients.
To view this discussion on the web visit https://groups.google.com/d/msgid/kafka-clients/CAFc58G-XRpw9ik35%2BCmsYm-uc2hjHet6fOpw4bF90ka9Z%3DhH%3Dw%40mail.gmail.com.
Great! Thanks Jun for helping with the release and everyone involved for
your contributions.
--
Thanks,
Neha