[ https://issues.apache.org/jira/browse/KAFKA-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409969#comment-13409969 ]
derek commented on KAFKA-139: ----------------------------- No, unfortunately. It used to do that (on trunk), but in 0.8 the failure is within AsyncProducerTest.testFailedSendRetryLogic due to a change in ordering of underlying send calls: [2012-07-09 17:53:25,663] ERROR Unexpected method call getAnyProducer(): getAnyProducer(): expected: 3, actual: 4 close(): expected: 1, actual: 0 (kafka.utils.Utils$:102) java.lang.AssertionError: Unexpected method call getAnyProducer(): getAnyProducer(): expected: 3, actual: 4 close(): expected: 1, actual: 0 at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:45) at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:73) at org.easymock.internal.ClassProxyFactory$MockMethodInterceptor.intercept(ClassProxyFactory.java:92) at kafka.producer.ProducerPool$$EnhancerByCGLIB$$5e7236c2.getAnyProducer(<generated>) at kafka.producer.BrokerPartitionInfo.updateInfo(BrokerPartitionInfo.scala:73) at kafka.producer.async.DefaultEventHandler$$anonfun$handle$1.apply$mcV$sp(DefaultEventHandler.scala:53) at kafka.utils.Utils$.swallow(Utils.scala:401) at kafka.utils.Logging$class.swallowError(Logging.scala:102) at kafka.utils.Utils$.swallowError(Utils.scala:38) at kafka.producer.async.DefaultEventHandler.handle(DefaultEventHandler.scala:53) at kafka.producer.AsyncProducerTest.testFailedSendRetryLogic(AsyncProducerTest.scala:475) Based on a brief review of the code involved I don't see a simple way around this for the 0.8 branch, but I'm open to suggestions. > cross-compile multiple Scala versions > ------------------------------------- > > Key: KAFKA-139 > URL: https://issues.apache.org/jira/browse/KAFKA-139 > Project: Kafka > Issue Type: Improvement > Components: packaging > Affects Versions: 0.8 > Reporter: Chris Burroughs > Labels: build > Fix For: 0.8 > > Attachments: kafka-sbt0-11-3-0.8-v2.patch, > kafka-sbt0-11-3-0.8-v3.patch, kafka-sbt0-11-3-0.8.patch, kafka-sbt0-11-3.patch > > > Since scala does not maintain binary compatibly between versions, > organizations tend to have to move all of there code at the same time. It > would thus be very helpful if we could cross build multiple scala versions. > http://code.google.com/p/simple-build-tool/wiki/CrossBuild > Unclear if this would require KAFKA-134 or just work. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira