[ 
https://issues.apache.org/jira/browse/CAMEL-14047?focusedWorklogId=326852&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-326852
 ]

ASF GitHub Bot logged work on CAMEL-14047:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Oct/19 10:50
            Start Date: 11/Oct/19 10:50
    Worklog Time Spent: 10m 
      Work Description: davsclaus commented on pull request #3237: CAMEL-14047: 
Allow unset producerName to get unique name from Pulsar
URL: https://github.com/apache/camel/pull/3237
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 326852)
    Time Spent: 0.5h  (was: 20m)

> 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.x
>            Reporter: William Thompson
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  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