Installing Starlight for JMS

Compatibility

Wire protocol changes introduced in Pulsar 2.9 can cause compatibility issues when using Transactions.
To avoid issues, DataStax recommends using:

  • Pulsar JMS 1.x if your server is Pulsar 2.8.x or Luna Streaming 2.8.x

  • Pulsar JMS 2.x if your server is Pulsar 2.9.x, 2.10.x or Luna Streaming 2.10.x (or above)

Installation

Install Starlight for JMS by adding the following dependency to your Java Maven project pom.xml. Remember to choose the most recent version.

xml
<dependency>
   <artifactId>pulsar-jms</artifactId>
   <groupId>com.datastax.oss</groupId>
   <version>XXXX</version>
</dependency>

That file contains only Starlight for JMS code and transitively imports the Apache Pulsarâ„¢ client and the Jakarta JMS 2.0 specifications JAR.

You can also use a "fat" JAR that includes all dependencies:

xml
<dependency>
   <artifactId>pulsar-jms-all</artifactId>
   <groupId>com.datastax.oss</groupId>
   <version>XXXX</version>
</dependency>

Next

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com