Jorg Heymans created KAFKA-8573:
-----------------------------------

             Summary: kafka-topics.cmd OOM when connecting to a secure cluster 
without SSL properties
                 Key: KAFKA-8573
                 URL: https://issues.apache.org/jira/browse/KAFKA-8573
             Project: Kafka
          Issue Type: Bug
          Components: tools
    Affects Versions: 2.2.1
            Reporter: Jorg Heymans


When using kafka-topics.cmd to connect to an SSL secured cluster, without 
specifying '--command-config=my-ssl.properties' on OOM is triggered:

 
{noformat}
[2019-06-20 14:25:07,998] ERROR Uncaught exception in thread 
'kafka-admin-client-thread | adminclient-1': 
(org.apache.kafka.common.utils.KafkaThread)
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
at org.apache.kafka.common.memory.MemoryPool$1.tryAllocate(MemoryPool.java:30)
at 
org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:112)
at org.apache.kafka.common.network.KafkaChannel.receive(KafkaChannel.java:424)
at org.apache.kafka.common.network.KafkaChannel.read(KafkaChannel.java:385)
at org.apache.kafka.common.network.Selector.attemptRead(Selector.java:651)
at org.apache.kafka.common.network.Selector.pollSelectionKeys(Selector.java:572)
at org.apache.kafka.common.network.Selector.poll(Selector.java:483)
at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:535)
at 
org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.run(KafkaAdminClient.java:1131)
at java.lang.Thread.run(Thread.java:748){noformat}



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

Reply via email to