Skip to main content

Display connector trace on failed connectors

· One min read

With the release of Meroxa CLI version v1.4.0, we've updated the output of the connector describe command to display the error trace of failed connectors.

Describing connectors

When describing a connector that is in the "failed" state (i.e. the connector or the upstream data source has experienced an issue), running the describe command will now display the error trace that resulted in the "failed" state.

$ meroxa connector describe cdbsrc
ID: 2470
Name: cdbsrc
Type: cosmosdb-source
Streams: (output) resource-2957-203946-demo
State: failed
Pipeline: demo
Trace: java.lang.RuntimeException: Client initialization failed. Check if the endpoint is reachable and if your auth token is valid
at com.azure.cosmos.implementation.RxDocumentClientImpl.initializeGatewayConfigurationReader(RxDocumentClientImpl.java:392)
at com.azure.cosmos.implementation.RxDocumentClientImpl.init(RxDocumentClientImpl.java:419)
at com.azure.cosmos.implementation.AsyncDocumentClient$Builder.build(AsyncDocumentClient.java:241)
at com.azure.cosmos.CosmosAsyncClient.<init>(CosmosAsyncClient.java:123)
at com.azure.cosmos.CosmosClientBuilder.buildAsyncClient(CosmosClientBuilder.java:741)
at com.azure.cosmos.kafka.connect.source.CosmosDBSourceTask.getCosmosClient(CosmosDBSourceTask.java:241)
at com.azure.cosmos.kafka.connect.source.CosmosDBSourceTask.start(CosmosDBSourceTask.java:58)
at org.apache.kafka.connect.runtime.WorkerSourceTask.execute(WorkerSourceTask.java:213)
at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:184)
at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:234)
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)

To get the latest on the CLI, check out the Installation Guide.

For any questions or comments, please feel free to email us at support@meroxa.io or reach out to us on Twitter