davsclaus commented on code in PR #28203:
URL: https://github.com/apache/camel/pull/28203#discussion_r4333295553


##########
components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/PulsarProducer.java:
##########
@@ -150,6 +149,12 @@ private void createProducer() throws PulsarClientException 
{
                 if (producerName != null) {
                     producerBuilder.producerName(producerName);
                 }
+                if (configuration.getInitialSequenceId() >= 0) {

Review Comment:
   Optional: the comment below explains this `if`. It could go above it, and 
say "a negative value (the default -1)" since that is what `>= 0` checks.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to