ilter P
2018-11-12 23:39:02 UTC
Hi,
I am running 1 node kafka setup in my local Docker and trying to create
ACLs by using AdminClient API but receiving the following error:
[2018-11-12 23:21:20,065] TRACE [AdminClient clientId=adminclient-1]
Metadata is not ready: we have not fetched metadata from the bootstrap
nodes yet. (org.apache.kafka.clients.admin.internals.AdminMetadataManager)
[2018-11-12 23:21:20,066] DEBUG [AdminClient clientId=adminclient-1]
Requesting metadata update.
(org.apache.kafka.clients.admin.internals.AdminMetadataManager)
[2018-11-12 23:21:20,066] TRACE [AdminClient clientId=adminclient-1] Unable
to assign Call(callName=createAcls, deadlineMs=1542064880086) to a node.
(org.apache.kafka.clients.admin.KafkaAdminClient)
[2018-11-12 23:21:20,066] TRACE [AdminClient clientId=adminclient-1]
Entering KafkaClient#poll(timeout=22)
(org.apache.kafka.clients.admin.KafkaAdminClient)
[2018-11-12 23:21:20,091] TRACE [AdminClient clientId=adminclient-1]
KafkaClient#poll retrieved 0 response(s)
(org.apache.kafka.clients.admin.KafkaAdminClient)
[2018-11-12 23:21:20,094] DEBUG [AdminClient clientId=adminclient-1]
Call(callName=createAcls, deadlineMs=1542064880086) timed out at
1542064880092 after 1 attempt(s)
(org.apache.kafka.clients.admin.KafkaAdminClient)
java.lang.Exception: TimeoutException: Timed out waiting for a node
assignment.
at
org.apache.kafka.clients.admin.KafkaAdminClient$Call.fail(KafkaAdminClient.java:603)
at
org.apache.kafka.clients.admin.KafkaAdminClient$TimeoutProcessor.handleTimeouts(KafkaAdminClient.java:721)
at
org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.timeoutPendingCalls(KafkaAdminClient.java:789)
at
org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.run(KafkaAdminClient.java:1083)
at java.lang.Thread.run(Thread.java:748)
I tried to increase timeout value but did not work.
I am using Kafka 2.0
I could not find anything else, can you please help ? This might be related
to single node setup ?
Thanks in advance
I am running 1 node kafka setup in my local Docker and trying to create
ACLs by using AdminClient API but receiving the following error:
[2018-11-12 23:21:20,065] TRACE [AdminClient clientId=adminclient-1]
Metadata is not ready: we have not fetched metadata from the bootstrap
nodes yet. (org.apache.kafka.clients.admin.internals.AdminMetadataManager)
[2018-11-12 23:21:20,066] DEBUG [AdminClient clientId=adminclient-1]
Requesting metadata update.
(org.apache.kafka.clients.admin.internals.AdminMetadataManager)
[2018-11-12 23:21:20,066] TRACE [AdminClient clientId=adminclient-1] Unable
to assign Call(callName=createAcls, deadlineMs=1542064880086) to a node.
(org.apache.kafka.clients.admin.KafkaAdminClient)
[2018-11-12 23:21:20,066] TRACE [AdminClient clientId=adminclient-1]
Entering KafkaClient#poll(timeout=22)
(org.apache.kafka.clients.admin.KafkaAdminClient)
[2018-11-12 23:21:20,091] TRACE [AdminClient clientId=adminclient-1]
KafkaClient#poll retrieved 0 response(s)
(org.apache.kafka.clients.admin.KafkaAdminClient)
[2018-11-12 23:21:20,094] DEBUG [AdminClient clientId=adminclient-1]
Call(callName=createAcls, deadlineMs=1542064880086) timed out at
1542064880092 after 1 attempt(s)
(org.apache.kafka.clients.admin.KafkaAdminClient)
java.lang.Exception: TimeoutException: Timed out waiting for a node
assignment.
at
org.apache.kafka.clients.admin.KafkaAdminClient$Call.fail(KafkaAdminClient.java:603)
at
org.apache.kafka.clients.admin.KafkaAdminClient$TimeoutProcessor.handleTimeouts(KafkaAdminClient.java:721)
at
org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.timeoutPendingCalls(KafkaAdminClient.java:789)
at
org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.run(KafkaAdminClient.java:1083)
at java.lang.Thread.run(Thread.java:748)
I tried to increase timeout value but did not work.
I am using Kafka 2.0
I could not find anything else, can you please help ? This might be related
to single node setup ?
Thanks in advance