davsclaus commented on code in PR #31341:
URL: https://github.com/apache/camel/pull/31341#discussion_r4805738716
##########
components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/PulsarConfiguration.java:
##########
@@ -169,11 +170,11 @@ public class PulsarConfiguration implements Cloneable {
description = "The number of threads that receive and process
the messages of each consumer, when "
+ "messageListener is disabled.")
private int numberOfConsumerThreads = 1;
- @UriParam(label = "consumer", enums = "AUTO_SPLIT,STICKY",
+ @UriParam(label = "consumer", enums = "AUTO_SPLIT",
description = "The key shared policy of the consumers, for the
KEY_SHARED subscription type. AUTO_SPLIT has "
- + "the broker split the hash range of the message
keys over the consumers. STICKY needs hash "
- + "ranges assigned to each consumer, which Camel
does not set, so the Pulsar client rejects it and "
- + "the consumer fails to start.")
+ + "the broker split the hash range of the message
keys over the consumers. The STICKY policy of "
+ + "the Pulsar client needs hash ranges assigned to
each consumer, which Camel does not set, so it "
+ + "is not supported.")
Review Comment:
The description now lists only AUTO_SPLIT in the enum, and the STICKY
sentence explains why it is not supported (Camel does not assign the hash
ranges the Pulsar client needs). That helps users who look for STICKY, so
keeping it is fine.
_Claude Code on behalf of davsclaus._
--
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]