diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdf6006..b14b563 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,8 +41,13 @@ jobs: SONAR_TOKEN: ${{ secrets.sonar_token }} run: ./gradlew sonarqube -Dsonar.branch.name=${GITHUB_REF#refs/heads/} + - name: Package (Confluent Hub Archive) + run: | + ./gradlew confluent_hub_archive + cp build/libs/*.jar build/dist + - name: Generate checksums - run: sha256sum build/libs/*.jar > build/libs/checksums.sha256 + run: sha256sum build/dist/* > build/libs/checksums.sha256 - name: Upload build artifacts uses: actions/upload-artifact@v1 diff --git a/build.gradle.kts b/build.gradle.kts index b29a35b..0c019f2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ import java.time.LocalDate group = "com.github.f0xdx" -version = "0.1-SNAPSHOT" +version = "0.1.0" val junitVersion by extra("5.6.2") val kafkaVersion by extra("2.3.1") @@ -108,4 +108,6 @@ tasks.register("confluent_hub_archive") { from(tasks.jar) { into("lib") } + + into("f0xdx-${rootProject.name}-${rootProject.version}") } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 92f949e..1ae2930 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "release_date": "${build_date}", "component_types": ["transform"], "title": "Wrap Transformation", - "description": "Kafka Connect single message transform (SMT) wrapping key and record of kafka messages into a single struct. This ensures, e.g., that data contained in complex keys is not lost when ingesting data from kafka in a sink such as elasticsearch. Additionally, it supports exporting meta-data including partition, offset, timestamp, topic name and kafka headers.\n\nNote that this transform does only support sink connectors, as it wraps kafka specific meta-data that is not available for all source connectors.", + "description": "

Kafka Connect single message transform (SMT) wrapping key and record of kafka messages into a single struct. This ensures, e.g., that data contained in complex keys is not lost when ingesting data from kafka in a sink such as elasticsearch. Additionally, it supports exporting meta-data including partition, offset, timestamp, topic name and kafka headers.

Note that this transform does only support sink connectors, as it wraps kafka specific meta-data that is not available for all source connectors.

", "owner": { "username": "f0xdx", "name": "Felix Heinrichs",