diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 90f61972d1..3cb9b5b870 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -3,12 +3,12 @@ name: kop tests on: pull_request: branches: - - master - - branch-* + - master + - branch-* push: branches: - - master - - branch-* + - master + - branch-* jobs: build: @@ -16,6 +16,13 @@ jobs: runs-on: ubuntu-latest steps: + - uses: s4u/maven-settings-action@v2.6.0 + with: + servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}", + "password": "${{ secrets.SONATYPE_PASSWORD }}"}]' + - name: Login to cloudsmith + run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY + }}" docker.cloudsmith.io - uses: actions/checkout@v1 - name: Set up JDK 1.8 uses: actions/setup-java@v1 @@ -51,7 +58,8 @@ jobs: run: mvn test -ntp -B -DfailIfNoTests=false -pl oauth-client - name: tests module - run: mvn test -ntp -B -DfailIfNoTests=false '-Dtest=!KafkaIntegration*Test' -pl tests + run: mvn test -ntp -B -DfailIfNoTests=false '-Dtest=!KafkaIntegration*Test' + -pl tests timeout-minutes: 60 - name: package surefire artifacts diff --git a/.github/workflows/release-note.yml b/.github/workflows/release-note.yml index ace01382e0..bcd5f36465 100644 --- a/.github/workflows/release-note.yml +++ b/.github/workflows/release-note.yml @@ -3,18 +3,25 @@ name: KoP Release Notes on: push: branches: - - master + - master path-ignores: - - 'docs/**' - - 'README.md' - - 'CONTRIBUTING.md' + - 'docs/**' + - 'README.md' + - 'CONTRIBUTING.md' jobs: build: runs-on: ubuntu-latest steps: - - name: release note - uses: toolmantim/release-drafter@v5.2.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: s4u/maven-settings-action@v2.6.0 + with: + servers: '[{"id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}", + "password": "${{ secrets.SONATYPE_PASSWORD }}"}]' + - name: Login to cloudsmith + run: docker login -u="${{ secrets.CLOUDSMITH_USERNAME }}" -p="${{ secrets.CLOUDSMITH_API_KEY + }}" docker.cloudsmith.io + - name: release note + uses: toolmantim/release-drafter@v5.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/kafka-0-10/pom.xml b/kafka-0-10/pom.xml index 361104c987..23cabbb74d 100644 --- a/kafka-0-10/pom.xml +++ b/kafka-0-10/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-0-9/pom.xml b/kafka-0-9/pom.xml index 3a7c4c84b5..767925ea41 100644 --- a/kafka-0-9/pom.xml +++ b/kafka-0-9/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-1-0/pom.xml b/kafka-1-0/pom.xml index a81f31f8b8..fa8198b183 100644 --- a/kafka-1-0/pom.xml +++ b/kafka-1-0/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-2-8/pom.xml b/kafka-2-8/pom.xml index 0f7099d47f..e76e5c99d6 100644 --- a/kafka-2-8/pom.xml +++ b/kafka-2-8/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-3-0/pom.xml b/kafka-3-0/pom.xml index 8b9ec28cbd..aa2404b892 100644 --- a/kafka-3-0/pom.xml +++ b/kafka-3-0/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-client-api/pom.xml b/kafka-client-api/pom.xml index a55cd92168..52e534e94a 100644 --- a/kafka-client-api/pom.xml +++ b/kafka-client-api/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-client-factory/pom.xml b/kafka-client-factory/pom.xml index 3e8fac899d..e9d87a47f0 100644 --- a/kafka-client-factory/pom.xml +++ b/kafka-client-factory/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-impl/pom.xml b/kafka-impl/pom.xml index d2d2c9b04c..13182ffa33 100644 --- a/kafka-impl/pom.xml +++ b/kafka-impl/pom.xml @@ -22,7 +22,7 @@ io.streamnative.pulsar.handlers pulsar-protocol-handler-kafka-parent - 2.9.2.18 + 2.9.4.3 io.streamnative.pulsar.handlers diff --git a/kafka-payload-processor-shaded-tests/pom.xml b/kafka-payload-processor-shaded-tests/pom.xml index 6b98b124a3..1186583c5e 100644 --- a/kafka-payload-processor-shaded-tests/pom.xml +++ b/kafka-payload-processor-shaded-tests/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-payload-processor-shaded/pom.xml b/kafka-payload-processor-shaded/pom.xml index 6a092392c0..61d99d3da8 100644 --- a/kafka-payload-processor-shaded/pom.xml +++ b/kafka-payload-processor-shaded/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/kafka-payload-processor/pom.xml b/kafka-payload-processor/pom.xml index 3dce14b90f..6a3438b2a6 100644 --- a/kafka-payload-processor/pom.xml +++ b/kafka-payload-processor/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/oauth-client/pom.xml b/oauth-client/pom.xml index 57e2ec7949..e612e10cf9 100644 --- a/oauth-client/pom.xml +++ b/oauth-client/pom.xml @@ -22,7 +22,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 oauth-client diff --git a/pom.xml b/pom.xml index 63d2a21f45..6437bbcb44 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,4 @@ - + - - + org.apache apache 18 4.0.0 - pom - io.streamnative.pulsar.handlers pulsar-protocol-handler-kafka-parent - 2.9.2.18 + 2.9.4.3 StreamNative :: Pulsar Protocol Handler :: KoP Parent Parent for Kafka on Pulsar implemented using Pulsar Protocol Handler. - 1.8 true - 2.14.0 2.13.4.1 @@ -44,7 +37,7 @@ 1.18.24 2.22.0 io.streamnative - 2.9.2.18 + 2.9.4.3 1.7.25 3.1.12 2.1.3.Final @@ -56,7 +49,6 @@ 5.2.1 1.31 1.7 - 3.0.rc1 3.1.1 @@ -68,7 +60,6 @@ 4.2.2 1.6.8 - Apache License, Version 2.0 @@ -76,7 +67,6 @@ repo - kafka-0-9 kafka-0-10 @@ -93,7 +83,6 @@ kafka-payload-processor-shaded-tests test-listener - @@ -102,7 +91,6 @@ kafka-clients ${kafka.version} - ${pulsar.group.id} pulsar-broker @@ -126,14 +114,12 @@ - io.grpc grpc-all ${grpc.version} provided - com.google.protobuf protobuf-bom @@ -141,119 +127,99 @@ pom import - - junit junit ${junit.version} provided - ${pulsar.group.id} pulsar-broker ${pulsar.version} test-jar - ${pulsar.group.id} pulsar-client-original ${pulsar.version} - ${pulsar.group.id} pulsar-common ${pulsar.version} - ${pulsar.group.id} pulsar-client-admin-original ${pulsar.version} - ${pulsar.group.id} managed-ledger test-jar ${pulsar.version} - ${pulsar.group.id} testmocks ${pulsar.version} - org.projectlombok lombok ${lombok.version} - com.fasterxml.jackson.core jackson-core ${jackson.version} - com.fasterxml.jackson.core jackson-annotations ${jackson.version} - com.fasterxml.jackson.core jackson-databind ${jackson-databind.version} - com.fasterxml.jackson.dataformat jackson-dataformat-yaml ${jackson.version} - com.github.spotbugs spotbugs-annotations ${spotbugs-annotations.version} - org.testng testng ${testng.version} - org.mockito mockito-core ${mockito.version} - org.awaitility awaitility ${awaitility.version} - io.fusionauth fusionauth-jwt ${fusionauth-jwt.version} - io.streamnative.pulsar.handlers test-listener ${project.version} - org.yaml snakeyaml @@ -266,7 +232,6 @@ - @@ -312,7 +277,6 @@ none - com.github.spotbugs spotbugs-maven-plugin @@ -321,7 +285,6 @@ resources/findbugsExclude.xml - maven-compiler-plugin ${maven-compiler-plugin.version} @@ -339,7 +302,6 @@ - maven-surefire-plugin ${maven-surefire-plugin.version} @@ -356,7 +318,8 @@ usedefaultlisteners - false + false + listener @@ -365,14 +328,12 @@ - com.mycila license-maven-plugin ${license-maven-plugin.version}
resources/license.template
- LICENSE NOTICE @@ -403,7 +364,6 @@
- org.codehaus.mojo templating-maven-plugin @@ -417,7 +377,6 @@ - pl.project13.maven git-commit-id-plugin @@ -445,29 +404,29 @@ true -
- central default https://repo1.maven.org/maven2 + + ossrh + https://s01.oss.sonatype.org/service/local/repositories/iostreamnative-1973/content + - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ - release @@ -534,5 +493,4 @@ -
diff --git a/test-listener/pom.xml b/test-listener/pom.xml index 5157f13b44..e5ea4da2b6 100644 --- a/test-listener/pom.xml +++ b/test-listener/pom.xml @@ -20,7 +20,7 @@ pulsar-protocol-handler-kafka-parent io.streamnative.pulsar.handlers - 2.9.2.18 + 2.9.4.3 4.0.0 diff --git a/tests/pom.xml b/tests/pom.xml index b799021b0a..61ae89a9c2 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -22,7 +22,7 @@ io.streamnative.pulsar.handlers pulsar-protocol-handler-kafka-parent - 2.9.2.18 + 2.9.4.3 io.streamnative.pulsar.handlers