Samuel Durand created KAFKA-4538:
------------------------------------

             Summary: Version 
                 Key: KAFKA-4538
                 URL: https://issues.apache.org/jira/browse/KAFKA-4538
             Project: Kafka
          Issue Type: Bug
          Components: clients
    Affects Versions: 0.10.1.0
         Environment: Unix OS, Scala
            Reporter: Samuel Durand
            Priority: Minor


The new KafkaClient for kafka 0.10.1.0 prevents a simple Scala app from closing 
by itself. This was not the case with the previous 0.10.0.1
To close the app you now have to add an explicit system exit.

{code:title=Bar.scala|borderStyle=solid}
object App extends App {

 doSomethingThatCreatesAndUsesAKafkaClient()

  // Necessary to close the application
  System.exit(0)
}
{code}

I didn't find out yet if that's because of some leaking process or something 
else.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to