From 2b89f0ed3b5da8c2f3cfba95177103013026840a Mon Sep 17 00:00:00 2001 From: xfournet Date: Thu, 29 Mar 2018 19:03:24 +0200 Subject: [PATCH] [SM-3684] Create OSGi bundles for Kafka_2.11, Kafka Client and Kafka Streams 1.1.0 --- kafka-clients-1.1.0/pom.xml | 117 +++++++++ .../src/main/resources/OSGI-INF/bundle.info | 23 ++ kafka-streams-1.1.0/pom.xml | 108 ++++++++ .../src/main/resources/OSGI-INF/bundle.info | 23 ++ kafka_2.11-1.1.0/pom.xml | 237 ++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 23 ++ pom.xml | 3 + 7 files changed, 534 insertions(+) create mode 100644 kafka-clients-1.1.0/pom.xml create mode 100644 kafka-clients-1.1.0/src/main/resources/OSGI-INF/bundle.info create mode 100644 kafka-streams-1.1.0/pom.xml create mode 100644 kafka-streams-1.1.0/src/main/resources/OSGI-INF/bundle.info create mode 100644 kafka_2.11-1.1.0/pom.xml create mode 100644 kafka_2.11-1.1.0/src/main/resources/OSGI-INF/bundle.info diff --git a/kafka-clients-1.1.0/pom.xml b/kafka-clients-1.1.0/pom.xml new file mode 100644 index 0000000000..8612cec8b8 --- /dev/null +++ b/kafka-clients-1.1.0/pom.xml @@ -0,0 +1,117 @@ + + + + + + 4.0.0 + + + org.apache.servicemix.bundles + bundles-pom + 13 + ../bundles-pom/pom.xml + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.kafka-clients + 1.1.0_1-SNAPSHOT + bundle + Apache ServiceMix :: Bundles :: ${pkgArtifactId} + This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file. + + + scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git + scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git + https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git + HEAD + + + + org.apache.kafka + kafka-clients + 1.1.0 + + org.apache.kafka + + + javax.management.*, + javax.security.*, + javax.net.ssl.*, + javax.crypto.*, + org.ietf.jgss.*, + org.slf4j.*, + net.jpountz.*;resolution:=optional, + javax.xml.bind;resolution:=optional, + org.xerial.snappy;resolution:=optional;version="[1.1,2)", + sun.misc;resolution:=optional, + sun.nio.ch;resolution:=optional, + sun.security.krb5;resolution:=optional, + com.ibm.security.krb5.internal;resolution:=optional + + + + + + ${pkgGroupId} + ${pkgArtifactId} + ${pkgVersion} + + + + ${pkgGroupId} + ${pkgArtifactId} + ${pkgVersion} + sources + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + ${pkgGroupId}:${pkgArtifactId} + + + + + ${pkgGroupId}:${pkgArtifactId} + + kafka/kafka-version.properties + + + + true + true + + + + + + + diff --git a/kafka-clients-1.1.0/src/main/resources/OSGI-INF/bundle.info b/kafka-clients-1.1.0/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000000..f61e66b7a8 --- /dev/null +++ b/kafka-clients-1.1.0/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,23 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Apache Kafka is publish-subscribe messaging rethought as a distributed commit log. + + * Fast + A single Kafka broker can handle hundreds of megabytes of reads and writes per second from thousands of clients. + + * Scalable + Kafka is designed to allow a single cluster to serve as the central data backbone for a large organization. It can be elastically and transparently expanded without downtime. Data streams are partitioned and spread over a cluster of machines to allow data streams larger than the capability of any single machine and to allow clusters of co-ordinated consumers + + * Durable + Messages are persisted on disk and replicated within the cluster to prevent data loss. Each broker can handle terabytes of messages without performance impact. + + * Distributed by Design + Kafka has a modern cluster-centric design that offers strong durability and fault-tolerance guarantees. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://kafka.apache.org/\u001B[0m \ No newline at end of file diff --git a/kafka-streams-1.1.0/pom.xml b/kafka-streams-1.1.0/pom.xml new file mode 100644 index 0000000000..19b880a5a4 --- /dev/null +++ b/kafka-streams-1.1.0/pom.xml @@ -0,0 +1,108 @@ + + + + + + 4.0.0 + + + org.apache.servicemix.bundles + bundles-pom + 13 + ../bundles-pom/pom.xml + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.kafka-streams + 1.1.0_1-SNAPSHOT + bundle + Apache ServiceMix :: Bundles :: ${pkgArtifactId} + This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file. + + + scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git + scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git + https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git + HEAD + + + + org.apache.kafka + kafka-streams + 1.1.0 + + org.apache.kafka.streams + + + !org.apache.kafka.streams.*, + org.apache.kafka.*;version="[$(versionmask;==;${pkgVersion}),$(versionmask;+;${pkgVersion}))", + org.slf4j, + org.rocksdb;resolution:=optional;version="[5.7,6)" + + + + + + ${pkgGroupId} + ${pkgArtifactId} + ${pkgVersion} + + + + ${pkgGroupId} + ${pkgArtifactId} + ${pkgVersion} + sources + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + ${pkgGroupId}:${pkgArtifactId} + + + + + ${pkgGroupId}:${pkgArtifactId} + + **/* + + + + true + true + + + + + + + diff --git a/kafka-streams-1.1.0/src/main/resources/OSGI-INF/bundle.info b/kafka-streams-1.1.0/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000000..f61e66b7a8 --- /dev/null +++ b/kafka-streams-1.1.0/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,23 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Apache Kafka is publish-subscribe messaging rethought as a distributed commit log. + + * Fast + A single Kafka broker can handle hundreds of megabytes of reads and writes per second from thousands of clients. + + * Scalable + Kafka is designed to allow a single cluster to serve as the central data backbone for a large organization. It can be elastically and transparently expanded without downtime. Data streams are partitioned and spread over a cluster of machines to allow data streams larger than the capability of any single machine and to allow clusters of co-ordinated consumers + + * Durable + Messages are persisted on disk and replicated within the cluster to prevent data loss. Each broker can handle terabytes of messages without performance impact. + + * Distributed by Design + Kafka has a modern cluster-centric design that offers strong durability and fault-tolerance guarantees. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://kafka.apache.org/\u001B[0m \ No newline at end of file diff --git a/kafka_2.11-1.1.0/pom.xml b/kafka_2.11-1.1.0/pom.xml new file mode 100644 index 0000000000..c7604a09eb --- /dev/null +++ b/kafka_2.11-1.1.0/pom.xml @@ -0,0 +1,237 @@ + + + + + + 4.0.0 + + + org.apache.servicemix.bundles + bundles-pom + 13 + ../bundles-pom/pom.xml + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.kafka_2.11 + 1.1.0_1-SNAPSHOT + bundle + Apache ServiceMix :: Bundles :: ${pkgArtifactId} + This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file. + + + scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git + scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git + https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git + HEAD + + + + org.apache.kafka + kafka_2.11 + 1.1.0 + + kafka + + + javax.crypto.*, + javax.xml.datatype.*, + javax.management.*, + org.apache.kafka.*;version="[$(versionmask;==;${pkgVersion}),$(versionmask;+;${pkgVersion}))", + scala.*;version="[2,3)", + com.typesafe.scalalogging.*;version="[3.7,4)", + org.slf4j.*, + com.fasterxml.jackson.*, + com.yammer.metrics.*;version="[2.2,3)", + org.apache.zookeeper.*;version="[3.4,4)", + joptsimple.*;resolution:=optional;version="[5.0,6)", + org.I0Itec.zkclient.*;resolution:=optional, + org.apache.log4j.*;resolution:=optional, + org.xerial.snappy;resolution:=optional;version="[1.1,2)", + sun.misc;resolution:=optional, + sun.nio.ch;resolution:=optional + + + + + + ${pkgGroupId} + ${pkgArtifactId} + ${pkgVersion} + + + com.sun.jmx + jmxri + + + com.sun.jdmk + jmxtools + + + org.apache.zookeeper + zookeeper + + + org.scala-lang + scala-library + + + org.scala-lang + scala-compiler + + + org.scala-lang + scala-reflect + + + com.typesafe.scala-logging + scala-logging_2.11 + + + log4j + log4j + + + net.sf.jopt-simple + jopt-simple + + + org.slf4j + slf4j-simple + + + com.101tec + zkclient + + + org.xerial.snappy + snappy-java + + + com.yammer.metrics + metrics-core + + + com.yammer.metrics + metrics-annotation + + + + + + + ${pkgGroupId} + ${pkgArtifactId} + ${pkgVersion} + sources + + + com.sun.jmx + jmxri + + + com.sun.jdmk + jmxtools + + + org.apache.zookeeper + zookeeper + + + org.scala-lang + scala-library + + + org.scala-lang + scala-compiler + + + org.scala-lang + scala-reflect + + + com.typesafe.scala-logging + scala-logging_2.11 + + + log4j + log4j + + + net.sf.jopt-simple + jopt-simple + + + org.slf4j + slf4j-simple + + + com.101tec + zkclient + + + org.xerial.snappy + snappy-java + + + com.yammer.metrics + metrics-core + + + com.yammer.metrics + metrics-annotation + + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + ${pkgGroupId}:${pkgArtifactId} + + + + + ${pkgGroupId}:${pkgArtifactId} + + **/* + + + + true + true + + + + + + + diff --git a/kafka_2.11-1.1.0/src/main/resources/OSGI-INF/bundle.info b/kafka_2.11-1.1.0/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000000..f61e66b7a8 --- /dev/null +++ b/kafka_2.11-1.1.0/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,23 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Apache Kafka is publish-subscribe messaging rethought as a distributed commit log. + + * Fast + A single Kafka broker can handle hundreds of megabytes of reads and writes per second from thousands of clients. + + * Scalable + Kafka is designed to allow a single cluster to serve as the central data backbone for a large organization. It can be elastically and transparently expanded without downtime. Data streams are partitioned and spread over a cluster of machines to allow data streams larger than the capability of any single machine and to allow clusters of co-ordinated consumers + + * Durable + Messages are persisted on disk and replicated within the cluster to prevent data loss. Each broker can handle terabytes of messages without performance impact. + + * Distributed by Design + Kafka has a modern cluster-centric design that offers strong durability and fault-tolerance guarantees. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://kafka.apache.org/\u001B[0m \ No newline at end of file diff --git a/pom.xml b/pom.xml index 64cacc4d8e..1e800dee43 100644 --- a/pom.xml +++ b/pom.xml @@ -47,6 +47,9 @@ kafka_2.11-1.0.1 kafka-clients-1.0.1 kafka-streams-1.0.1 + kafka_2.11-1.1.0 + kafka-clients-1.1.0 + kafka-streams-1.1.0 conscrypt-openjdk-uber-1.0.1 grpc-1.9.0 grpc-1.10.0