Registry / messaging / pulsar-common

pulsar-common

JSON →
library4.2.0javamavenunverified

Apache Pulsar Common provides shared libraries used by the Pulsar client, broker, and tools.

<dependency> <groupId>org.apache.pulsar</groupId> <artifactId>pulsar-common</artifactId> <version>4.2.0</version> </dependency>
INSTALL
IMPORT
SIG · PULSAR-COMMON
P
pulsar-common
messagingjavav4.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CommandProducer
org.apache.pulsar.common.api.proto.CommandProducer

Create a Pulsar producer command using the common API.

import org.apache.pulsar.common.api.proto.CommandProducer; public class Example { public static void main(String[] args) { CommandProducer producer = new CommandProducer(); producer.setProducerId(1); producer.setTopic("my-topic"); System.out.println("Producer command created"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
pulsar-common — mvn dependency:get pulsar-common · libregistry