poorbarcode commented on code in PR #21246:
URL: https://github.com/apache/pulsar/pull/21246#discussion_r1373279519
##########
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java:
##########
@@ -831,6 +831,16 @@ public interface ConsumerBuilder<T> extends Cloneable {
*/
ConsumerBuilder<T> autoScaledReceiverQueueSizeEnabled(boolean enabled);
+ /**
+ * Sets the {@link SubscriptionIsolationLevel} for the consumer.
+ *
+ * @param subscriptionIsolationLevel If READ_COMMITTED is selected, the
Consumer can only consume all transactional messages which have been committed,
+ * else if READ_UNCOMMITTED is selected,
the Consumer can consume all messages, even transactional messages which have
been aborted.
+ * Note that this is a subscription
dimension configuration, and all consumers under the same subscription need to
be configured with the same IsolationLevel.
Review Comment:
> @codelipenghui
> Hi, could you please help with the review as soon as possible? We are
currently very urgent.
> Thank you for your time
Since you are urgent, you should also focus on the failed CIs.
<img width="893" alt="Screenshot 2023-10-26 at 22 30 49"
src="https://github.com/apache/pulsar/assets/25195800/b4c828ff-f9e7-4341-8cba-16466949b38e">
--
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]