Skip to content

Commit 795840e

Browse files
author
streamnativebot
committed
"Created by snbot"
1 parent 8ee73de commit 795840e

File tree

4 files changed

+33
-43
lines changed

4 files changed

+33
-43
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
PULSAR_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${pulsar.version}' --non-recursive exec:exec 2>/dev/null`
3737
REPO=`mvn -q -Dexec.executable=echo -Dexec.args='${project.artifactId}' --non-recursive exec:exec 2>/dev/null`
3838
IMAGE_REPO=streamnative/${REPO}
39-
RUNNER_IMAGE=streamnative/pulsar-functions-java-runner:${PULSAR_VERSION}
39+
RUNNER_IMAGE=snstage/pulsar-functions-java-runner:${PULSAR_VERSION}
4040
docker pull ${RUNNER_IMAGE}
4141
docker build --build-arg PULSAR_VERSION="$PULSAR_VERSION" -t ${IMAGE_REPO}:${CONNECTOR_VERSION} -f ./image/Dockerfile ./
4242
docker push ${IMAGE_REPO}:${CONNECTOR_VERSION}

docs/cloud-storage-sink.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can get the Cloud Storage sink connector using one of the following methods:
1313

1414
## Use it with Function Worker
1515

16-
- Download the NAR package from [here](https://github.com/streamnative/pulsar-io-cloud-storage/releases/download/v{{connector:version}}/pulsar-io-cloud-storage-{{connector:version}}.nar).
16+
- Download the NAR package from [here](https://github.com/streamnative/pulsar-io-cloud-storage/releases/download/v3.0.10.1/pulsar-io-cloud-storage-3.0.10.1.nar).
1717

1818
- Build it from the source code.
1919

@@ -33,7 +33,7 @@ You can get the Cloud Storage sink connector using one of the following methods:
3333

3434
```bash
3535
ls target
36-
pulsar-io-cloud-storage-{{connector:version}}.nar
36+
pulsar-io-cloud-storage-3.0.10.1.nar
3737
```
3838

3939
## Use it with Function Mesh
@@ -281,7 +281,7 @@ kind: Sink
281281
metadata:
282282
name: cloud-storage-sink-sample
283283
spec:
284-
image: streamnative/pulsar-io-cloud-storage:{{connector:version}}
284+
image: streamnative/pulsar-io-cloud-storage:3.0.10.1
285285
className: org.apache.pulsar.io.jcloud.sink.CloudStorageGenericRecordSink
286286
replicas: 1
287287
maxReplicas: 1
@@ -313,7 +313,7 @@ spec:
313313
cpu: "0.1"
314314
memory: 1G
315315
java:
316-
jar: connectors/pulsar-io-cloud-storage-{{connector:version}}.nar
316+
jar: connectors/pulsar-io-cloud-storage-3.0.10.1.nar
317317
clusterName: test-pulsar
318318
```
319319
@@ -333,7 +333,7 @@ This example shows how to create an Cloud Storage sink connector on a Pulsar clu
333333
334334
```
335335
PULSAR_HOME/bin/pulsar-admin sinks create \
336-
--archive pulsar-io-cloud-storage-{{connector:version}}.nar \
336+
--archive pulsar-io-cloud-storage-3.0.10.1.nar \
337337
--sink-config-file cloud-storage-sink-config.yaml \
338338
--classname org.apache.pulsar.io.jcloud.sink.CloudStorageGenericRecordSink \
339339
--name cloud-storage-sink
@@ -432,7 +432,7 @@ This example explains how to create a Cloud Storage sink connector in an on-prem
432432
1. Copy the NAR package of the Cloud Storage connector to the Pulsar connectors directory.
433433
434434
```
435-
cp pulsar-io-cloud-storage-{{connector:version}}.nar $PULSAR_HOME/connectors/pulsar-io-cloud-storage-{{connector:version}}.nar
435+
cp pulsar-io-cloud-storage-3.0.10.1.nar $PULSAR_HOME/connectors/pulsar-io-cloud-storage-3.0.10.1.nar
436436
```
437437
438438
2. Reload all [built-in connectors](https://pulsar.apache.org/docs/en/next/io-connectors/).
@@ -480,7 +480,7 @@ This example demonstrates how to create Cloud Storage sink connector through Fun
480480
metadata:
481481
name: cloud-storage-sink-sample
482482
spec:
483-
image: streamnative/pulsar-io-cloud-storage:{{connector:version}}
483+
image: streamnative/pulsar-io-cloud-storage:3.0.10.1
484484
className: org.apache.pulsar.io.jcloud.sink.CloudStorageGenericRecordSink
485485
replicas: 1
486486
maxReplicas: 1
@@ -512,7 +512,7 @@ This example demonstrates how to create Cloud Storage sink connector through Fun
512512
cpu: "0.1"
513513
memory: 1G
514514
java:
515-
jar: connectors/pulsar-io-cloud-storage-{{connector:version}}.nar
515+
jar: connectors/pulsar-io-cloud-storage-3.0.10.1.nar
516516
clusterName: test-pulsar
517517
```
518518

image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
#
1919

2020
ARG PULSAR_VERSION
21-
FROM streamnative/pulsar-functions-java-runner:${PULSAR_VERSION}
21+
FROM snstage/pulsar-functions-java-runner:${PULSAR_VERSION}
2222
COPY --chown=$UID:$GID target/*.nar /pulsar/connectors/

pom.xml

Lines changed: 23 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!--
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!--
23
34
Licensed to the Apache Software Foundation (ASF) under one
45
or more contributor license agreements. See the NOTICE file
@@ -18,22 +19,18 @@
1819
under the License.
1920
2021
-->
21-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2323
<parent>
2424
<groupId>org.apache</groupId>
2525
<artifactId>apache</artifactId>
2626
<version>18</version>
2727
</parent>
28-
2928
<modelVersion>4.0.0</modelVersion>
30-
3129
<groupId>io.streamnative.ecosystem</groupId>
3230
<artifactId>pulsar-io-cloud-storage</artifactId>
33-
<version>2.9.0-rc-202110221101</version>
31+
<version>3.0.10.1</version>
3432
<name>Pulsar Ecosystem :: IO Connector :: Cloud Storage Project</name>
3533
<description>Cloud Storage Connector integrates Apache Pulsar with Cloud Storage.</description>
36-
3734
<properties>
3835
<maven.compiler.source>17</maven.compiler.source>
3936
<maven.compiler.target>17</maven.compiler.target>
@@ -43,11 +40,10 @@
4340
<redirectTestOutputToFile>true</redirectTestOutputToFile>
4441
<spotbugs-annotations.version>4.2.2</spotbugs-annotations.version>
4542
<testRetryCount>2</testRetryCount>
46-
4743
<!-- connector dependencies -->
4844
<jackson.version>2.13.2</jackson.version>
4945
<jackson-databind.version>2.13.4.2</jackson-databind.version>
50-
<pulsar.version>3.0.4.1</pulsar.version>
46+
<pulsar.version>3.0.10.1</pulsar.version>
5147
<lombok.version>1.18.32</lombok.version>
5248
<avro.version>1.11.3</avro.version>
5349
<hadoop.version>3.3.6</hadoop.version>
@@ -64,14 +60,12 @@
6460
<grpc.version>1.42.1</grpc.version>
6561
<protoc-gen-grpc-java.version>${grpc.version}</protoc-gen-grpc-java.version>
6662
<azure-sdk-bom.version>1.2.22</azure-sdk-bom.version>
67-
6863
<!-- test dependencies -->
6964
<junit.version>4.13.1</junit.version>
7065
<awaitility.version>4.2.0</awaitility.version>
7166
<mockito.version>3.7.7</mockito.version>
7267
<powermock.version>2.0.2</powermock.version>
7368
<testcontainers.version>1.15.2</testcontainers.version>
74-
7569
<!-- build plugin dependencies -->
7670
<license.plugin.version>3.0</license.plugin.version>
7771
<maven-checkstyle-plugin.version>3.1.1</maven-checkstyle-plugin.version>
@@ -88,15 +82,13 @@
8882
<netty.version>4.1.115.Final</netty.version>
8983
<libthrift.version>0.17.0</libthrift.version>
9084
</properties>
91-
9285
<licenses>
9386
<license>
9487
<name>Apache License, Version 2.0</name>
9588
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
9689
<distribution>repo</distribution>
9790
</license>
9891
</licenses>
99-
10092
<!-- keep all the dependencies used by all modules here -->
10193
<dependencyManagement>
10294
<dependencies>
@@ -211,7 +203,6 @@
211203
<artifactId>avro</artifactId>
212204
<version>${avro.version}</version>
213205
</dependency>
214-
215206
<!-- test dependencies -->
216207
<dependency>
217208
<groupId>junit</groupId>
@@ -268,45 +259,37 @@
268259
<artifactId>sts</artifactId>
269260
<version>${aws.java.sdk2.version}</version>
270261
</dependency>
271-
272262
<dependency>
273263
<groupId>org.yaml</groupId>
274264
<artifactId>snakeyaml</artifactId>
275265
<version>${snakeyaml.version}</version>
276266
</dependency>
277-
278267
<dependency>
279268
<groupId>ch.qos.reload4j</groupId>
280269
<artifactId>reload4j</artifactId>
281270
<version>${reload4j.version}</version>
282271
</dependency>
283-
284272
<dependency>
285273
<groupId>com.fasterxml.woodstox</groupId>
286274
<artifactId>woodstox-core</artifactId>
287275
<version>${woodstox-core.version}</version>
288276
</dependency>
289-
290277
<dependency>
291278
<groupId>io.netty</groupId>
292279
<artifactId>netty-bom</artifactId>
293280
<version>${netty.version}</version>
294281
<type>pom</type>
295282
<scope>import</scope>
296283
</dependency>
297-
298284
<dependency>
299285
<groupId>org.apache.thrift</groupId>
300286
<artifactId>libthrift</artifactId>
301287
<version>${libthrift.version}</version>
302288
</dependency>
303-
304289
</dependencies>
305290
</dependencyManagement>
306-
307291
<!-- include the dependencies -->
308292
<dependencies>
309-
310293
<!-- provided dependencies (available at compilation and test classpaths and *NOT* packaged) -->
311294
<dependency>
312295
<groupId>org.projectlombok</groupId>
@@ -318,7 +301,6 @@
318301
<artifactId>spotbugs-annotations</artifactId>
319302
<scope>provided</scope>
320303
</dependency>
321-
322304
<!-- runtime dependencies -->
323305
<dependency>
324306
<groupId>io.streamnative</groupId>
@@ -336,7 +318,6 @@
336318
<groupId>io.streamnative</groupId>
337319
<artifactId>pulsar-client-original</artifactId>
338320
</dependency>
339-
340321
<dependency>
341322
<groupId>com.fasterxml.jackson.core</groupId>
342323
<artifactId>jackson-databind</artifactId>
@@ -544,7 +525,6 @@
544525
<groupId>com.azure</groupId>
545526
<artifactId>azure-core-http-okhttp</artifactId>
546527
</dependency>
547-
548528
<!-- test dependencies -->
549529
<dependency>
550530
<groupId>org.apache.logging.log4j</groupId>
@@ -605,9 +585,7 @@
605585
<version>${pulsar.version}</version>
606586
<scope>test</scope>
607587
</dependency>
608-
609588
</dependencies>
610-
611589
<build>
612590
<pluginManagement>
613591
<plugins>
@@ -764,7 +742,6 @@
764742
<version>${os-maven-plugin.version}</version>
765743
</extension>
766744
</extensions>
767-
768745
<plugins>
769746
<!-- compile -->
770747
<plugin>
@@ -789,31 +766,26 @@
789766
<groupId>org.apache.maven.plugins</groupId>
790767
<artifactId>maven-compiler-plugin</artifactId>
791768
</plugin>
792-
793769
<!-- test -->
794770
<plugin>
795771
<groupId>org.apache.maven.plugins</groupId>
796772
<artifactId>maven-surefire-plugin</artifactId>
797773
</plugin>
798-
799774
<!-- package -->
800775
<plugin>
801776
<groupId>org.apache.nifi</groupId>
802777
<artifactId>nifi-nar-maven-plugin</artifactId>
803778
</plugin>
804-
805779
<!-- license -->
806780
<plugin>
807781
<groupId>com.mycila</groupId>
808782
<artifactId>license-maven-plugin</artifactId>
809783
</plugin>
810-
811784
<!-- checkstyle -->
812785
<plugin>
813786
<groupId>org.apache.maven.plugins</groupId>
814787
<artifactId>maven-checkstyle-plugin</artifactId>
815788
</plugin>
816-
817789
<!-- spotbugs -->
818790
<plugin>
819791
<groupId>com.github.spotbugs</groupId>
@@ -832,5 +804,23 @@
832804
<name>bintray</name>
833805
<url>https://dl.bintray.com/streamnative/maven</url>
834806
</repository>
807+
<repository>
808+
<id>ossrh</id>
809+
<url>https://s01.oss.sonatype.org/service/local/repositories/iostreamnative-3735/content</url>
810+
</repository>
811+
<repository>
812+
<id>nexus-snapshot-ci</id>
813+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
814+
</repository>
835815
</repositories>
816+
<distributionManagement>
817+
<snapshotRepository>
818+
<id>ossrh</id>
819+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
820+
</snapshotRepository>
821+
<repository>
822+
<id>ossrh</id>
823+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
824+
</repository>
825+
</distributionManagement>
836826
</project>

0 commit comments

Comments
 (0)