Error org.apache.kafka.common.errors.TimeoutException when listing topics in AMQ Streams on OpenShift with kafka-topics.sh tool.

Solution Verified - Updated -

Issue

  • When I try to use kafka-topics.sh to list the topics I am getting timed out error. I suspect this is due to no facility of mentioning truststore. Can you please help me in this?
bin/kafka-topics.sh --bootstrap-server=myhost.com:443 --list
Error while executing topic command : Call(callName=listTopics, deadlineMs=1620292970316, tries=1, nextAllowedTryMs=1620292970418) timed out at 1620292970318 after 1 attempt(s)
[2021-05-06 14:52:50,323] ERROR org.apache.kafka.common.errors.TimeoutException: Call(callName=listTopics, deadlineMs=1620292970316, tries=1, nextAllowedTryMs=1620292970418) timed out at 1620292970318 after 1 attempt(s)
Caused by: org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. Call: listTopics

Environment

  • AMQ Streams 1.7+, 2.x
  • Openshift 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content