diff --git a/docs/amqp-1-0-sink.md b/docs/amqp-1-0-sink.md index 775e6906..161d19fa 100644 --- a/docs/amqp-1-0-sink.md +++ b/docs/amqp-1-0-sink.md @@ -15,7 +15,7 @@ You can get the AMQP1_0 sink connector using one of the following methods. ## Use it with Function Worker -- Download the NAR package from [here](https://github.com/streamnative/pulsar-io-amqp-1-0/releases/download/v{{connector:version}}/pulsar-io-amqp1_0-{{connector:version}}.nar). +- Download the NAR package from [here](https://github.com/streamnative/pulsar-io-amqp-1-0/releases/download/v3.0.1.4/pulsar-io-amqp1_0-3.0.1.4.nar). - Build it from the source code. @@ -35,7 +35,7 @@ You can get the AMQP1_0 sink connector using one of the following methods. ```bash ls pulsar-io-amqp1_0/target - pulsar-io-amqp1_0-{{connector:version}}.nar + pulsar-io-amqp1_0-3.0.1.4.nar ``` ## Use it with Function Mesh @@ -75,7 +75,7 @@ You can create a configuration file (JSON or YAML) to set the properties as belo "namespace": "default", "name": "amqp1_0-sink", "inputs": ["user-op-queue-topic"], - "archive": "connectors/pulsar-io-amqp1_0-{{connector:version}}.nar", + "archive": "connectors/pulsar-io-amqp1_0-3.0.1.4.nar", "parallelism": 1, "configs": { @@ -96,7 +96,7 @@ You can create a configuration file (JSON or YAML) to set the properties as belo name: "amqp1_0-sink" inputs: - "user-op-queue-topic" - archive: "connectors/pulsar-io-amqp1_0-{{connector:version}}.nar" + archive: "connectors/pulsar-io-amqp1_0-3.0.1.4.nar" parallelism: 1 configs: @@ -120,7 +120,7 @@ kind: Sink metadata: name: amqp-sink-sample spec: - image: streamnative/pulsar-io-amqp-1-0:{{connector:version}} + image: streamnative/pulsar-io-amqp-1-0:3.0.1.4 className: org.apache.pulsar.ecosystem.io.amqp.AmqpSink replicas: 1 input: @@ -146,7 +146,7 @@ spec: cpu: "0.1" memory: 1G java: - jar: connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + jar: connectors/pulsar-io-amqp1_0-3.0.1.4.nar clusterName: test-pulsar autoAck: true ``` @@ -168,7 +168,7 @@ This example shows how to create an AMQP1_0 sink connector on a Pulsar cluster u ``` PULSAR_HOME/bin/pulsar-admin sinks create \ --name amqp1_0-sink \ ---archive pulsar-io-amqp1_0-{{connector:version}}.nar \ +--archive pulsar-io-amqp1_0-3.0.1.4.nar \ --classname org.apache.pulsar.ecosystem.io.amqp.AmqpSink \ --sink-config-file amqp-sink-config.yaml ``` @@ -190,7 +190,7 @@ This example describes how to use the AMQP1_0 sink connector to pull data from P 2. Copy the NAR package of the AMQP1_0 sink connector to the Pulsar connectors directory. ``` - cp pulsar-io-amqp1_0-{{connector:version}}.nar $PULSAR_HOME/connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + cp pulsar-io-amqp1_0-3.0.1.4.nar $PULSAR_HOME/connectors/pulsar-io-amqp1_0-3.0.1.4.nar ``` 3. Start Pulsar in standalone mode. @@ -207,7 +207,7 @@ This example describes how to use the AMQP1_0 sink connector to pull data from P ``` Searching for connectors in /Volumes/other/apache-pulsar-2.8.0-SNAPSHOT/./connectors - Found connector ConnectorDefinition(name=amqp1_0, description=AMQP1_0 source and AMQP1_0 connector, sourceClass=org.apache.pulsar.ecosystem.io.amqp.AmqpSource, sinkClass=org.apache.pulsar.ecosystem.io.amqp.AmqpSink, sourceConfigClass=null, sinkConfigClass=null) from /Volumes/other/apache-pulsar-2.8.0-SNAPSHOT/./connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + Found connector ConnectorDefinition(name=amqp1_0, description=AMQP1_0 source and AMQP1_0 connector, sourceClass=org.apache.pulsar.ecosystem.io.amqp.AmqpSource, sinkClass=org.apache.pulsar.ecosystem.io.amqp.AmqpSink, sourceConfigClass=null, sinkConfigClass=null) from /Volumes/other/apache-pulsar-2.8.0-SNAPSHOT/./connectors/pulsar-io-amqp1_0-3.0.1.4.nar Searching for functions in /Volumes/other/apache-pulsar-2.8.0-SNAPSHOT/./functions ``` @@ -363,7 +363,7 @@ This example explains how to create an AMQP1_0 sink connector on an on-premises 1. Copy the NAR package of the AMQP1_0 connector to the Pulsar connectors directory. ``` - cp pulsar-io-amqp1_0-{{connector:version}}.nar $PULSAR_HOME/connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + cp pulsar-io-amqp1_0-3.0.1.4.nar $PULSAR_HOME/connectors/pulsar-io-amqp1_0-3.0.1.4.nar ``` 2. Reload all [built-in connectors](https://pulsar.apache.org/docs/en/next/io-connectors/). @@ -413,7 +413,7 @@ This example demonstrates how to create an AMQP1_0 sink connector through Functi metadata: name: amqp-sink-sample spec: - image: streamnative/pulsar-io-amqp-1-0:{{connector:version}} + image: streamnative/pulsar-io-amqp-1-0:3.0.1.4 className: org.apache.pulsar.ecosystem.io.amqp.AmqpSink replicas: 1 input: @@ -439,7 +439,7 @@ This example demonstrates how to create an AMQP1_0 sink connector through Functi cpu: "0.1" memory: 1G java: - jar: connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + jar: connectors/pulsar-io-amqp1_0-3.0.1.4.nar clusterName: test-pulsar autoAck: true ``` diff --git a/docs/amqp-1-0-source.md b/docs/amqp-1-0-source.md index 27da9251..f47465b4 100644 --- a/docs/amqp-1-0-source.md +++ b/docs/amqp-1-0-source.md @@ -15,7 +15,7 @@ You can get the AMQP1_0 source connector using one of the following methods. ## Use it with Function Worker -- Download the NAR package from [here](https://github.com/streamnative/pulsar-io-amqp-1-0/releases/download/v{{connector:version}}/pulsar-io-amqp1_0-{{connector:version}}.nar). +- Download the NAR package from [here](https://github.com/streamnative/pulsar-io-amqp-1-0/releases/download/v3.0.1.4/pulsar-io-amqp1_0-3.0.1.4.nar). - Build it from the source code. @@ -36,7 +36,7 @@ You can get the AMQP1_0 source connector using one of the following methods. ```bash ls pulsar-io-amqp1_0/target - pulsar-io-amqp1_0-{{connector:version}}.nar + pulsar-io-amqp1_0-3.0.1.4.nar ``` ## Use it with Function Mesh @@ -74,7 +74,7 @@ You can create a configuration file (JSON or YAML) to set the properties as belo "namespace": "default", "name": "amqp1_0-source", "topicName": "user-op-queue-topic", - "archive": "connectors/pulsar-io-amqp1_0-{{connector:version}}.nar", + "archive": "connectors/pulsar-io-amqp1_0-3.0.1.4.nar", "parallelism": 1, "configs": { "protocol": "amqp", @@ -94,7 +94,7 @@ You can create a configuration file (JSON or YAML) to set the properties as belo namespace: "default" name: "amqp1_0-source" topicName: "user-op-queue-topic" - archive: "connectors/pulsar-io-amqp1_0-{{connector:version}}.nar" + archive: "connectors/pulsar-io-amqp1_0-3.0.1.4.nar" parallelism: 1 configs: @@ -118,7 +118,7 @@ kind: Source metadata: name: amqp-source-sample spec: - image: streamnative/pulsar-io-amqp-1-0:{{connector:version}} + image: streamnative/pulsar-io-amqp-1-0:3.0.1.4 className: org.apache.pulsar.ecosystem.io.amqp.AmqpSource replicas: 1 output: @@ -141,7 +141,7 @@ spec: cpu: "0.1" memory: 1G java: - jar: connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + jar: connectors/pulsar-io-amqp1_0-3.0.1.4.nar clusterName: test-pulsar ``` @@ -162,7 +162,7 @@ This example shows how to create an AMQP1_0 source connector on a Pulsar cluster ``` PULSAR_HOME/bin/pulsar-admin sources create \ --name amqp1_0-source \ ---archive pulsar-io-amqp1_0-{{connector:version}}.nar \ +--archive pulsar-io-amqp1_0-3.0.1.4.nar \ --classname org.apache.pulsar.ecosystem.io.amqp.AmqpSource \ --source-config-file amqp-source-config.yaml ``` @@ -184,7 +184,7 @@ This example describes how to use the AMQP1_0 source connector to feed data from 2. Copy the NAR package of the AMQP1_0 source connector to the Pulsar connectors directory. ``` - cp pulsar-io-amqp1_0-{{connector:version}}.nar $PULSAR_HOME/connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + cp pulsar-io-amqp1_0-3.0.1.4.nar $PULSAR_HOME/connectors/pulsar-io-amqp1_0-3.0.1.4.nar ``` 3. Start Pulsar in standalone mode. @@ -201,7 +201,7 @@ This example describes how to use the AMQP1_0 source connector to feed data from ``` Searching for connectors in /Volumes/other/apache-pulsar-2.8.0-SNAPSHOT/./connectors - Found connector ConnectorDefinition(name=amqp1_0, description=AMQP1_0 source and AMQP1_0 connector, sourceClass=org.apache.pulsar.ecosystem.io.amqp.AmqpSource, sinkClass=org.apache.pulsar.ecosystem.io.amqp.AmqpSink, sourceConfigClass=null, sinkConfigClass=null) from /Volumes/other/apache-pulsar-2.8.0-SNAPSHOT/./connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + Found connector ConnectorDefinition(name=amqp1_0, description=AMQP1_0 source and AMQP1_0 connector, sourceClass=org.apache.pulsar.ecosystem.io.amqp.AmqpSource, sinkClass=org.apache.pulsar.ecosystem.io.amqp.AmqpSink, sourceConfigClass=null, sinkConfigClass=null) from /Volumes/other/apache-pulsar-2.8.0-SNAPSHOT/./connectors/pulsar-io-amqp1_0-3.0.1.4.nar Searching for functions in /Volumes/other/apache-pulsar-2.8.0-SNAPSHOT/./functions ``` @@ -350,7 +350,7 @@ This example explains how to create an AMQP1_0 source connector on an on-premise 1. Copy the NAR package of the AMQP1_0 connector to the Pulsar connectors directory. ``` - cp pulsar-io-amqp1_0-{{connector:version}}.nar $PULSAR_HOME/connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + cp pulsar-io-amqp1_0-3.0.1.4.nar $PULSAR_HOME/connectors/pulsar-io-amqp1_0-3.0.1.4.nar ``` 2. Reload all [built-in connectors](https://pulsar.apache.org/docs/en/next/io-connectors/). @@ -400,7 +400,7 @@ This example demonstrates how to create an AMQP1_0 source connector through Func metadata: name: amqp-source-sample spec: - image: streamnative/pulsar-io-amqp-1-0:{{connector:version}} + image: streamnative/pulsar-io-amqp-1-0:3.0.1.4 className: org.apache.pulsar.ecosystem.io.amqp.AmqpSource replicas: 1 output: @@ -423,7 +423,7 @@ This example demonstrates how to create an AMQP1_0 source connector through Func cpu: "0.1" memory: 1G java: - jar: connectors/pulsar-io-amqp1_0-{{connector:version}}.nar + jar: connectors/pulsar-io-amqp1_0-3.0.1.4.nar clusterName: test-pulsar ``` diff --git a/io-amqp1_0-impl/pom.xml b/io-amqp1_0-impl/pom.xml index dcbe757c..8fe73173 100644 --- a/io-amqp1_0-impl/pom.xml +++ b/io-amqp1_0-impl/pom.xml @@ -25,7 +25,7 @@ pulsar-io-amqp1_0-parent org.apache.pulsar.ecosystem - 3.0.0-SNAPSHOT + 3.0.1.4 4.0.0 diff --git a/pom.xml b/pom.xml index 5e72712e..9bb8e0f0 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,4 @@ - + - + org.apache apache 18 - 4.0.0 - org.apache.pulsar.ecosystem pulsar-io-amqp1_0-parent pom - 3.0.0-SNAPSHOT + 3.0.1.4 Pulsar Ecosystem :: IO Connector :: AMQP1_0 This is an Apache Pulsar AMQP1_0 connector - 17 17 @@ -46,22 +41,19 @@ false 3.1.8 2 - 2.12.6.1 1.18.22 - 3.0.1.2 + 3.0.1.4 0.56.0 2.17.1 1.7.25 - 4.13.1 2.22.0 2.0.0-beta.5 1.19.0 4.2.0 - 3.0 3.0.0 @@ -71,7 +63,6 @@ 6.19 4.2.2 - Apache License, Version 2.0 @@ -79,12 +70,10 @@ repo - io-amqp1_0-impl tests - @@ -141,17 +130,14 @@ - - org.apache.qpid qpid-jms-client ${qpid.version} - org.slf4j @@ -168,7 +154,6 @@ log4j-slf4j-impl ${log4j2.version} - org.projectlombok @@ -180,18 +165,15 @@ spotbugs-annotations provided - io.streamnative pulsar-io-core - com.fasterxml.jackson.core jackson-databind - junit @@ -224,7 +206,6 @@ test - @@ -236,12 +217,12 @@ ${java.version} ${java.version} - + -Xlint:deprecation -Xlint:unchecked -Xpkginfo:always - + @@ -362,38 +343,32 @@ - - + org.apache.maven.plugins maven-compiler-plugin - org.apache.maven.plugins maven-surefire-plugin - org.apache.nifi nifi-nar-maven-plugin - com.mycila license-maven-plugin - org.apache.maven.plugins maven-checkstyle-plugin - com.github.spotbugs @@ -401,5 +376,24 @@ - + + + ossrh + https://s01.oss.sonatype.org/service/local/repositories/iostreamnative-2559/content + + + nexus-snapshot + 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/ + + diff --git a/tests/Dockerfile b/tests/Dockerfile index 60fff752..7420dd7d 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -18,7 +18,7 @@ # ARG PULSAR_IMAGE_TAG -FROM streamnative/pulsar:${PULSAR_IMAGE_TAG} +FROM docker.cloudsmith.io/streamnative/staging/pulsar:${PULSAR_IMAGE_TAG} ### Add connector COPY ./src/test/resources/pulsar-io-amqp1_0.nar /pulsar/connectors/pulsar-io-amqp1_0.nar diff --git a/tests/pom.xml b/tests/pom.xml index 023a08e2..ddbac000 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -25,7 +25,7 @@ pulsar-io-amqp1_0-parent org.apache.pulsar.ecosystem - 3.0.0-SNAPSHOT + 3.0.1.4 4.0.0