I am trying to add Jira source connector in my development environment (single broker docker container ) and the connector doesn’t start by throwing the below error messages. Other connectors work (MongoDB source connector, File source connector and ElasticSearch sink connector)
Connector configuration
{
"value.converter.schema.registry.url": "",
"key.converter.schema.registry.url": "",
"name": "Jira_Issues",
"connector.class": "io.confluent.connect.jira.JiraSourceConnector",
"tasks.max": "1",
"key.converter": "io.confluent.connect.avro.AvroConverter",
"value.converter": "io.confluent.connect.avro.AvroConverter",
"jira.since": "2021-04-17 23:50",
"jira.tables": [
"issues"
],
"jira.username": "username",
"jira.api.token": "Password",
"jira.url": "https://jira.test.com/",
"confluent.topic.bootstrap.servers": [
"broker:9092"
],
"confluent.topic": "jira_issues",
"confluent.topic.replication.factor": "1"
}
Error message
[2021-04-21 12:51:37,772] INFO App info kafka.admin.client for Jira_Issues-license-manager unregistered (org.apache.kafka.common.utils.AppInfoParser)
[2021-04-21 12:51:37,773] INFO [AdminClient clientId=Jira_Issues-license-manager] Metadata update failed (org.apache.kafka.clients.admin.internals.AdminMetadataManager)
org.apache.kafka.common.errors.TimeoutException: Call(callName=fetchMetadata, deadlineMs=1619009499800, tries=1, nextAllowedTryMs=-9223372036854775709) timed out at 9223372036854775807 after 1 attempt(s)
Caused by: org.apache.kafka.common.errors.TimeoutException: The AdminClient thread has exited. Call: fetchMetadata
[2021-04-21 12:51:37,773] INFO Metrics scheduler closed (org.apache.kafka.common.metrics.Metrics)
[2021-04-21 12:51:37,773] INFO Closing reporter org.apache.kafka.common.metrics.JmxReporter (org.apache.kafka.common.metrics.Metrics)
[2021-04-21 12:51:37,774] INFO Metrics reporters closed (org.apache.kafka.common.metrics.Metrics)
[2021-04-21 12:51:37,774] ERROR WorkerConnector{id=Jira_Issues} Error while starting connector (org.apache.kafka.connect.runtime.WorkerConnector)
org.apache.kafka.common.errors.TimeoutException: License topic could not be created
Caused by: org.apache.kafka.common.errors.TimeoutException: Call(callName=createTopics, deadlineMs=1619009497771, tries=1, nextAllowedTryMs=1619009497872) timed out at 1619009497772 after 1 attempt(s)
Caused by: org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. Call: createTopics
[2021-04-21 12:51:37,774] ERROR [Worker clientId=connect-1, groupId=compose-connect-group] Failed to start connector 'Jira_Issues' (org.apache.kafka.connect.runtime.distributed.DistributedHerder)
org.apache.kafka.connect.errors.ConnectException: Failed to start connector: Jira_Issues
at org.apache.kafka.connect.runtime.distributed.DistributedHerder.lambda$startConnector$5(DistributedHerder.java:1305)
at org.apache.kafka.connect.runtime.WorkerConnector.doTransitionTo(WorkerConnector.java:335)
at org.apache.kafka.connect.runtime.WorkerConnector.doRun(WorkerConnector.java:140)
at org.apache.kafka.connect.runtime.WorkerConnector.run(WorkerConnector.java:117)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)