-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc] Describe default ack timeout and update grammar in ConsumerBuilder javadoc #14084
Conversation
@liry:Thanks for your contribution. For this PR, do we need to update docs? |
@liry:Thanks for providing doc info! |
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java
Outdated
Show resolved
Hide resolved
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java
Outdated
Show resolved
Hide resolved
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @liry, thanks for your contribution to docs! I suggest a minor change in the writing style. PTAL.
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java
Outdated
Show resolved
Hide resolved
@liry please label this PR w/ |
ca7b187
to
108847e
Compare
@Anonymitaet done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this useful contribution
Can you please update the title and the description? The patch seems broader than what you describe.
@eolivelli done |
The pr had no activity for 30 days, mark with Stale label. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
@Anonymitaet maybe you want to take a look |
/pulsarbot run-failure-checks |
The pr had no activity for 30 days, mark with Stale label. |
@Anonymitaet is there any problem with this PR? |
@liry tests do not pass. |
The pr had no activity for 30 days, mark with Stale label. |
@Anonymitaet are you sure, it's caused by this change? It's only javadoc change and I don't see any failed check in this PR (actually they are waiting for something). |
@liry I mean this PR can proceed only after the checks are passed. You might need to merge master. |
Write in the simple present tense as much as possible if you are covering facts that were, are, and forever shall be true.
@Anonymitaet I've rebased it on top of the current master, but checks are still not running. Isn't this the cause: "First-time contributors need a maintainer to approve running workflows."? |
@liry I've approved to run the checks |
/pulsarbot run-failure-checks |
@Anonymitaet I don't understand, how my javadoc only change could cause |
@liry Please provide a correct documentation label for your PR. |
Thank you for your contribution. |
…der javadoc (apache#14084) * [Doc] Describe default ack timeout in javadoc * [Doc] Update javadoc grammar Write in the simple present tense as much as possible if you are covering facts that were, are, and forever shall be true.
…der javadoc (apache#14084) * [Doc] Describe default ack timeout in javadoc * [Doc] Update javadoc grammar Write in the simple present tense as much as possible if you are covering facts that were, are, and forever shall be true.
Motivation
When reading the javadoc of
ackTimeout
, user gets information, that default is 0, but this is not true, when dead letters are enabled.Also update javadoc grammar in ConsumerBuilder.
Modifications
Only javadoc extension.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below or label this PR directly (if you have committer privilege).
Need to update docs?
doc-required
no-need-doc
doc
Javadoc extension.