Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-5195

Maven Kafka Connect Build does not work with PROXY configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 2.4.0.GA, 2.5.0.GA
    • kafka-connect
    • None
    • False
    • None
    • False
    • Moderate

      I was performing a POC with a customer and I think I might have found a bug in the Kafka Connect build process when using maven. It seems the steps that configures the mvn dependency:copy-depency is overriding the container NO_PROXY/HTTP_PROXY configuration.

      Here is my example that runs fine in a cluster without proxy but fails in a cluster with proxy:
       
      kafka-connect.spec.yml
       
      and here is the step where it fails. This log was extracted from the build pod:

      test-connect-cluster-connect-build-2-undefined.log
       
      as you can see it is able to access maven registry using curl but it cannot do it using maven

        1. kafka-connect.spec.yml
          0.8 kB
          Guilherme Luiz dos Santos Silva
        2. test-connect-cluster-connect-build-2-undefined.log
          7 kB
          Guilherme Luiz dos Santos Silva

              Unassigned Unassigned
              rhn-support-gdossantos Guilherme Luiz dos Santos Silva
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: