You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Rajini Sivaram (JIRA)" <ji...@apache.org> on 2016/12/14 13:19:58 UTC
[jira] [Commented] (KAFKA-4538) Version
[ https://issues.apache.org/jira/browse/KAFKA-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15748324#comment-15748324 ]
Rajini Sivaram commented on KAFKA-4538:
---------------------------------------
If you are using KafkaConsumer, this could be due to KAFKA-4431.
> 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)