Skip to content

Commit

Permalink
fixed generated confluent hub archive format
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Heinrichs authored and f0xdx committed Apr 21, 2020
1 parent 73cecbf commit 1248229
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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")
Expand Down Expand Up @@ -108,4 +108,6 @@ tasks.register<Zip>("confluent_hub_archive") {
from(tasks.jar) {
into("lib")
}

into("f0xdx-${rootProject.name}-${rootProject.version}")
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "<p>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.</p><p>Note that this transform does only support <b>sink connectors</b>, as it wraps kafka specific meta-data that is not available for all source connectors.</p>",
"owner": {
"username": "f0xdx",
"name": "Felix Heinrichs",
Expand Down

0 comments on commit 1248229

Please sign in to comment.