datastax / pulsar-jms

DataStax Starlight for JMS, a JMS API for Apache Pulsar ®
Apache License 2.0
48 stars 21 forks source link

Allow to use Queues without using PulsarAdmin (new jms.usePulsarAdmin option) #1

Closed eolivelli closed 2 years ago

eolivelli commented 3 years ago

In version 1.0.0 we use PulsarAdmin in order to ensure the presence of the special 'jms-queue' subscription.

In some environments you do not have access to PulsarAdmin. This is case we can create a zero-queue consumer and rely on auto subscription creation.

Let's add a new configuration option 'jms.usePulsarAdmin' to specify that the JMS Client is allowed to use PulsarAdmin.

with jms.usePulsarAdmin = false:

eolivelli commented 3 years ago

committed a fix, it will be available with 1.1.0 release soon