This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicemix-bundles.git
The following commit(s) were added to refs/heads/master by this push:
new c56d4819d SM-5809: Create OSGi bundles for pulsar 4.0.4
c56d4819d is described below
commit c56d4819dbd94c6215398a5e2b62ab35874c1c2e
Author: JB Onofré <[email protected]>
AuthorDate: Sat May 3 13:05:51 2025 +0200
SM-5809: Create OSGi bundles for pulsar 4.0.4
---
pom.xml | 2 +
pulsar-client-4.0.4/pom.xml | 113 +++++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 39 +++++++
pulsar-client-admin-4.0.4/pom.xml | 105 +++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 39 +++++++
5 files changed, 298 insertions(+)
diff --git a/pom.xml b/pom.xml
index b12dfac21..882b71e71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -222,6 +222,8 @@
<module>kafka-streams-4.0.0</module>
<module>spring-batch-core-5.2.2</module>
<module>spring-batch-infrastructure-5.2.2</module>
+<module>pulsar-client-4.0.4</module>
+<module>pulsar-client-admin-4.0.4</module>
</modules>
</project>
diff --git a/pulsar-client-4.0.4/pom.xml b/pulsar-client-4.0.4/pom.xml
new file mode 100644
index 000000000..33bc7a0c2
--- /dev/null
+++ b/pulsar-client-4.0.4/pom.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+ <!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>bundles-pom</artifactId>
+ <version>16</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.pulsar-client</artifactId>
+ <version>4.0.4_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar
file.</description>
+
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.apache.pulsar</pkgGroupId>
+ <pkgArtifactId>pulsar-client</pkgArtifactId>
+ <pkgVersion>4.0.4</pkgVersion>
+
<servicemix.osgi.source.version>4.0.4.1</servicemix.osgi.source.version>
+ <servicemix.osgi.export.pkg>
+ com.scurrilous.circe.*,
+ org.apache.avro.*,
+ org.apache.pulsar,
+ org.apache.pulsar.*
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+ javax.security.cert,
+ org.slf4j,
+ javax.naming,javax.net.ssl,
+ net.jpountz.lz4;resolution:=optional,
+ org.w3c.dom,
+ io.airlift.compress.*;resolution:=optional
+ </servicemix.osgi.import.pkg>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <classifier>sources</classifier>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <includes>
+
<include>${pkgGroupId}:${pkgArtifactId}</include>
+ </includes>
+ </artifactSet>
+ <filters>
+ <filter>
+
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </filter>
+ </filters>
+
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/pulsar-client-4.0.4/src/main/resources/OSGI-INF/bundle.info
b/pulsar-client-4.0.4/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 000000000..c2b2126ae
--- /dev/null
+++ b/pulsar-client-4.0.4/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,39 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Apache Pulsar is an open-source distributed pub-sub messaging system
originally created at Yahoo and now part
+ of the Apache Software Foundation.
+
+ * Pulsar Functions
+ Easily deploy lightweight compute logic using developer-friendly APIs
without needing to run your own stream processing engine
+
+ * Proven in production
+ Pulsar has run in production at Yahoo scale for over 3 years, with
millions of messages per second across millions of topics
+
+ * Horizontally scalable
+ Seamlessly expand capacity to hundreds of nodes
+
+ * Low latency with durability
+ Designed for low publish latency (< 5ms) at scale with strong durability
guarantees
+
+ * Geo-replication
+ Designed for configurable replication between data centers across multiple
geographic regions
+
+ * Multi-tenancy
+ Built from the ground up as a multi-tenant system. Supports isolation,
authentication, authorization and quotas
+
+ * Persistent storage
+ Persistent message storage based on Apache BookKeeper. Provides IO-level
isolation between write and read operations
+
+ * Client libraries
+ Flexible messaging models with high-level APIs for Java, C++, Python and GO
+
+ * Operability
+ REST Admin API for provisioning, administration, tools and monitoring.
Deploy on bare metal or Kubernetes
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://pulsar.apache.org/\u001B[0m
diff --git a/pulsar-client-admin-4.0.4/pom.xml
b/pulsar-client-admin-4.0.4/pom.xml
new file mode 100644
index 000000000..2e10547ca
--- /dev/null
+++ b/pulsar-client-admin-4.0.4/pom.xml
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+ <!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>bundles-pom</artifactId>
+ <version>16</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.pulsar-client-admin</artifactId>
+ <version>4.0.4_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar
file.</description>
+
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.apache.pulsar</pkgGroupId>
+ <pkgArtifactId>pulsar-client-admin</pkgArtifactId>
+ <pkgVersion>4.0.4</pkgVersion>
+
<servicemix.osgi.source.version>4.0.4.1</servicemix.osgi.source.version>
+ <servicemix.osgi.export.pkg>
+ org.apache.pulsar
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+
+ </servicemix.osgi.import.pkg>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <classifier>sources</classifier>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <includes>
+
<include>${pkgGroupId}:${pkgArtifactId}</include>
+ </includes>
+ </artifactSet>
+ <filters>
+ <filter>
+
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </filter>
+ </filters>
+
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/pulsar-client-admin-4.0.4/src/main/resources/OSGI-INF/bundle.info
b/pulsar-client-admin-4.0.4/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 000000000..c2b2126ae
--- /dev/null
+++ b/pulsar-client-admin-4.0.4/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,39 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Apache Pulsar is an open-source distributed pub-sub messaging system
originally created at Yahoo and now part
+ of the Apache Software Foundation.
+
+ * Pulsar Functions
+ Easily deploy lightweight compute logic using developer-friendly APIs
without needing to run your own stream processing engine
+
+ * Proven in production
+ Pulsar has run in production at Yahoo scale for over 3 years, with
millions of messages per second across millions of topics
+
+ * Horizontally scalable
+ Seamlessly expand capacity to hundreds of nodes
+
+ * Low latency with durability
+ Designed for low publish latency (< 5ms) at scale with strong durability
guarantees
+
+ * Geo-replication
+ Designed for configurable replication between data centers across multiple
geographic regions
+
+ * Multi-tenancy
+ Built from the ground up as a multi-tenant system. Supports isolation,
authentication, authorization and quotas
+
+ * Persistent storage
+ Persistent message storage based on Apache BookKeeper. Provides IO-level
isolation between write and read operations
+
+ * Client libraries
+ Flexible messaging models with high-level APIs for Java, C++, Python and GO
+
+ * Operability
+ REST Admin API for provisioning, administration, tools and monitoring.
Deploy on bare metal or Kubernetes
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://pulsar.apache.org/\u001B[0m