Skip to content

KC: Show connector-level trace when status is FAILED #1318

@mehmetcangulesci

Description

@mehmetcangulesci

Issue submitter TODO list

  • I've searched for an already existing issues here
  • I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?

When a connector itself is FAILED (not just tasks), the UI currently does not show the connector-level trace. This makes troubleshooting harder because users only see task traces (if any), while some failures occur at the connector level (e.g., initialization, class loading, AdminClient creation).

Describe the feature you're interested in

  • Make the FAILED badge on the Connector Details page clickable.
  • On click, open a modal that displays the connector-level trace if present (status.trace).

Example payload (connector-level trace present):

{
  "connect": "<cluster-name>",
  "name": "<connector-name>",
  "connectorClass": "<connector-class>",
  "type": "<source/sink>",
  "topics": [],
  "status": {
    "state": "FAILED",
    "workerId": "<worker-id>",
    "trace": "org.apache.kafka.common.KafkaException: Failed to create new KafkaAdminClient\n\tat org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(...)\n...\nCaused by: org.apache.kafka.common.config.ConfigException: You must set either bootstrap.servers or bootstrap.controllers\n\tat org.apache.kafka.clients.admin.internals.AdminBootstrapAddresses.fromConfig(...)\n..."
  },
  "tasksCount": 0,
  "failedTasksCount": 0
}

Describe alternatives you've considered

No response

Version you're running

e3ba25f

Additional context

  • UX keeps users on the same page, no navigation context loss.
  • I am happy to contribute the implementation and open a PR linked to this issue.

Metadata

Metadata

Labels

area/connectKafka Connect, its connectorsscope/backendRelated to backend changesscope/frontendRelated to frontend changesstatus/triage/completedAutomatic triage completedtype/enhancementEn enhancement/improvement to an already existing feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions