[
https://issues.apache.org/jira/browse/KAFKA-7111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526251#comment-16526251
]
Luan Cestari commented on KAFKA-7111:
-------------------------------------
Hi,
I used the docker images from
https://github.com/confluentinc/cp-docker-images/ and created an
application with spring boot + spring Kafka to create a producer that
points to the localhost and ports configured but it wasn't working and I
saw the exceptio on trace level and figured out the broker (or schema) was
asking to use a hostname which could not be resolved out docker image , so
I changed my /etc/hosts and it worked.
(I am replying the email from my phone)
On Thu, Jun 28, 2018, 8:15 AM Stanislav Kozlovski (JIRA) <[email protected]>
> Review the NetworkClient log level used
> ---------------------------------------
>
> Key: KAFKA-7111
> URL: https://issues.apache.org/jira/browse/KAFKA-7111
> Project: Kafka
> Issue Type: Improvement
> Components: clients
> Reporter: Luan Cestari
> Assignee: Stanislav Kozlovski
> Priority: Trivial
>
> Hi,
>
> I was using Kafka on some projects and unfortunately I had to use Debug (and
> some times even Trace) log level to see some issues. One of the most recently
> cases was:
> [https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/NetworkClient.java#L872]
>
> If I got the name of the broker and it is unreachable, the errors should be
> more severe than "DEBUG" level IMHO. I would at least put a INFO level for
> this case or ERROR level (which seems to fit better but I don't know the
> practices used in the project).
>
> Thank you in advance
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)