[ 
https://issues.apache.org/jira/browse/KAFKA-7479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643597#comment-16643597
 ] 

Gene B. commented on KAFKA-7479:
--------------------------------

I've added client log. I had to cut it at some point - the log will keep 
rolling forever, since the client hangs. Exception is handled in 
"maybeSendTransactionalRequest" - and the loop in the the method will never 
break. The logic in the loop did not account for the case when there is an 
exception, so the loop never ends. 

> Call to "producer.initTransaction" hangs when using IP for "bootstrap.servers"
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-7479
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7479
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 1.0.0
>            Reporter: Gene B.
>            Priority: Major
>         Attachments: KAFKA-7479.log, KafkaProducerSample.java
>
>
> When using IP address for "bootstrap.servers",
> And Kafka server is installed in a VM (Virtual Box)
> Then transactional Kafka client is hanging on call 
> "producer.initTransaction", and the call never completes.
> Current workaround is to add Kafka host's name to the "hosts" file, but this 
> approach will not scale. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to