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

Connect RestClient overrides response status code on request failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0, 3.3.3
    • connect
    • None

    Description

      In case the submitted request status is >=400, the connect RestClient throws a ConnectRestException with the proper response code, but it gets intercepted and rethrown with 500 status code, effectively overriding the actual failure status. 

      Attachments

        Issue Links

          Activity

            People

              elkkhan Elkhan Eminov
              elkkhan Elkhan Eminov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: