[ 
https://issues.apache.org/jira/browse/CAMEL-14047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-14047.
---------------------------------
    Fix Version/s:     (was: 2.24.3)
       Resolution: Fixed

> camel-pulsar: Allow Pulsar to auto-select the unique producerName
> -----------------------------------------------------------------
>
>                 Key: CAMEL-14047
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14047
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-pulsar
>    Affects Versions: 2.24.2, 3.0.0.RC2
>            Reporter: William Thompson
>            Assignee: Claus Ibsen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0.RC3, 3.0.0, 2.25.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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|[https://github.com/apache/camel/blob/10de4bab2e76046b9535128bf38bf67b80c3f3f4/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/PulsarProducer.java#L60-L62]]
>  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|[https://pulsar.apache.org/api/client/org/apache/pulsar/client/api/ProducerBuilder.html#producerName-java.lang.String-]].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to