Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8520

TimeoutException in client side doesn't have stack trace

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: clients
    • Labels:
      None

      Description

      When a TimeoutException is thrown directly in the client side, it doesn't have any stack trace because it inherits "org.apache.kafka.common.errors.ApiException". This makes the user hard to debug timeout issues, because it's hard to know which line in the user codes throwing this TimeoutException.

      It would be great that adding a new client side TimeoutException which contains the stack trace.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zsxwing Shixiong Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: