You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starlight for JMS is a highly compliant JMS implementation designed to run on a modern streaming platform. This guide will get you up and running with a simple Java JMS client that can talk to an Apache Pulsar™ streaming instance.
9
+
Starlight for JMS is a highly compliant JMS implementation designed to run on a modern streaming platform.
10
+
This guide will get you up and running with a simple Java JMS client that can talk to an Apache Pulsar™ streaming instance.
10
11
11
-
== Getting started
12
+
== Prerequisites
12
13
13
-
To get started you will need a working Apache Pulsar cluster.
14
-
No bells or whistles need to be added!
15
-
You'll need access to the cluster's admin port 8080 and the binary port 6650. For this guide, we will use Astra Streaming to get going quickly.
14
+
To get started you'll just need a working Apache Pulsar cluster, with no bells or whistles requiured!
15
+
You'll need access to the cluster's admin port 8080 and the binary port 6650.
16
+
For this guide, we will use Astra Streaming to get started quickly. If you want to dive deeper, xref:starlight-for-jms:ROOT:index.adoc[read the documentation].
16
17
17
18
[tabs]
18
19
====
@@ -39,17 +40,18 @@ Using a standalone cluster? The Starlight for JMS docs provide the "xref:starlig
39
40
40
41
=== Retrieve connection properties in Astra Streaming
41
42
42
-
. While on the "Connect" tab in the Astra Streaming portal, the "pulsar" area will provide important connection information.
43
+
. In the Astra Streaming portal "Connect" tab, the "Pulsar" area provides important connection information.
. Now paste the following into the file. This is a very simple 'PulsarConnectionFactory' that first creates a jms queue using the full Pulsar topic address, then creates a message listener callback function that watches the queue. Finally, it produces a single message on the queue.
92
+
. Add the following code into the file.
93
+
This is a very simple 'PulsarConnectionFactory' that first creates a JMS queue using the full Pulsar topic address, then creates a message listener callback function that watches the queue.
94
+
Finally, it produces a single message on the queue.
0 commit comments