Installation
Configuration
The configuration of the ActiveMQ sink connector has the following properties.ActiveMQ sink connector configuration
Configure ActiveMQ sink connector
Before using the ActiveMQ sink connector, you need to create a configuration file through one of the following methods.-
JSON
-
YAML
Usage
-
Prepare ActiveMQ service.
-
Put the
pulsar-io-activemq-2.5.1.narin the pulsar connectors catalog. -
Start Pulsar in standalone mode.
-
Run ActiveMQ sink locally.
-
Send Pulsar messages.
-
Consume ActiveMQ messages.
Use the test method
receiveMessageof the classorg.apache.pulsar.ecosystem.io.activemq.ActiveMQDemoto consume ActiveMQ messages.