Skip to content

Commit

Permalink
go go gadget
Browse files Browse the repository at this point in the history
  • Loading branch information
sionsmith committed Oct 28, 2024
1 parent 00ba580 commit 5c0a35a
Show file tree
Hide file tree
Showing 23 changed files with 117 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
docker_push:
runs-on: ubuntu-latest
name: Build the bumper image, push to Docker Hub
steps:
- uses: actions/checkout@v2

- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Bump version and push tag
id: tagging
uses: anothrNick/github-tag-action@master
env:
GITHUB_TOKEN: ${{ secrets.GIT_ORG_REPO_TAG }}
DEFAULT_BUMP: patch
WITH_V: "true"
INITIAL_VERSION: 1.0.0

- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
repository: osodevops/strimzi-connect-all-in-one
tags: ${{ steps.tagging.outputs.new_tag }}
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ARG STRIMZI_KAFKA_TAG="0.43.0-kafka-3.8.0"

FROM quay.io/strimzi/kafka:${STRIMZI_KAFKA_TAG}

USER root

RUN mkdir -p /opt/kafka/plugins


# ActiveMq Kafka Connector
COPY confluentinc-kafka-connect-activemq-12.2.7 /opt/kafka/plugins/confluentinc-kafka-connect-activemq-12.2.7

# http-compressed-source.connector
COPY compressed-source-connector /opt/kafka/plugins/compressed-source-connector
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name=MySourceConnector
tasks.max=1
connector.class=io.confluent.connect.activemq.ActiveMQSourceConnector
kafka.topic=jms.test
activemq.url=tcp://localhost:61616
jms.destination.name=testing
jms.destination.type=queue

#
# Confluent license information
#
confluent.license=
confluent.topic.bootstrap.servers=localhost:9092

# If using a Kafka cluster with fewer than 3 brokers (e.g., for testing or local development)
# set the replication factor to 1.
#confluent.topic.replication.factor=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
bootstrap.servers=localhost:9092
key.converter=io.confluent.connect.avro.AvroConverter
key.converter.schema.registry.url=http://localhost:8081
value.converter=io.confluent.connect.avro.AvroConverter
value.converter.schema.registry.url=http://localhost:8081
internal.key.converter=org.apache.kafka.connect.json.JsonConverter
internal.value.converter=org.apache.kafka.connect.json.JsonConverter
internal.key.converter.schemas.enable=false
internal.value.converter.schemas.enable=false
offset.storage.file.filename=/tmp/connect.offsets

# Set the plugin path to the parent of the "kafka-connect-activemq" directory
#plugin.path=
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
34 changes: 34 additions & 0 deletions confluentinc-kafka-connect-activemq-12.2.7/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name" : "kafka-connect-activemq",
"version" : "12.2.7",
"title" : "Kafka Connect ActiveMQ Source",
"description" : "The ActiveMQ Source Connector is used to read messages from an ActiveMQ cluster and write them to a Kafka topic.\n\nIt is included in <a href=\"https://www.confluent.io/product/confluent-enterprise/\">Confluent Enterprise Platform</a>, or can be downloaded and installed separately. It can be used for free for 30 days, but after that does require an Enterprise license. <a href=\"https://www.confluent.io/contact/\">Contact Confluent</a> for more details.",
"owner" : {
"username" : "confluentinc",
"type" : "organization",
"name" : "Confluent, Inc.",
"url" : "http://confluent.io",
"logo" : "assets/confluent.png"
},
"support" : {
"summary" : "This connector is a Confluent Commercial Connector and <a href=\"https://www.confluent.io/subscription/\">supported by Confluent</a>. The <connector-name> requires purchase of a <a href=\"https://www.confluent.io/product/confluent-platform/\">Confluent Platform</a> subscription, including a license to this Commercial Connector. You can also use this connector for a 30-day trial without an enterprise license key - after 30 days, you need to purchase a subscription. Please contact your Confluent account manager for details.",
"url" : "http://confluent.io/subscription/",
"logo" : "assets/confluent.png",
"provider_name" : "Confluent, Inc."
},
"tags" : [ "JMS", "AMQ", "Message Broker", "ActiveMQ" ],
"features" : {
"supported_encodings" : [ "any" ],
"single_message_transforms" : true,
"confluent_control_center_integration" : true,
"kafka_connect_api" : true
},
"documentation_url" : "https://docs.confluent.io/kafka-connect-activemq-source/current/index.html",
"docker_image" : { },
"license" : [ {
"name" : "Confluent Software Evaluation License",
"url" : "https://www.confluent.io/software-evaluation-license"
} ],
"component_types" : [ "source" ],
"release_date" : "2024-10-14"
}

0 comments on commit 5c0a35a

Please sign in to comment.