Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-27442

Module flink-sql-avro-confluent-registry does not configure Confluent repo

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      flink-sql-avro-confluent-registry depends on org.apache.kafka:kafka-clients, which is not available in Maven Central, but only in the Confluent repo. However, it does not configure this repo. This causes the build to fail for me locally with the following exception:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project flink-sql-avro-confluent-registry: Error resolving project artifact: Could not transfer artifact org.apache.kafka:kafka-clients:pom:6.2.2-ccs from/to <other repo>: Not authorized , ReasonPhrase: . for project org.apache.kafka:kafka-clients:jar:6.2.2-ccs -> [Help 1]
      

      This may be build order dependent, but the module should probably configure the repo to be safe, like done elsewhere: https://github.com/apache/flink/blob/dd48d058c6b745f505870836048284a76a23f7cc/flink-end-to-end-tests/flink-confluent-schema-registry/pom.xml#L36-L41

      Looks like this is the case since 1.12 at least.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            martijnvisser Martijn Visser
            Nicolaus Weidner Nicolaus Weidner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment