Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.24.2, 3.0.0.RC2
-
Unknown
Description
Current default producerName value causes a null producerName to be impossible when configuring from URI. This causes the code regarding a null producerName in the PulsarProducer to be impossible to hit from a URI. This forces anyone wanting to start 2 producers on the same topic in Camel to generate unique IDs and append them to each producerName value.
The fix proposed is defaulting producerName to null and, instead of generating a producerName on a null within Camel, to use Pulsar ProducerBuilder's automatic generation of a globally unique producerName value as described in the ProducerBuilder documentation.