Skip to content

Commit

Permalink
[fix][misc] Correct the description of patternAutoDiscoveryPeriod (ap…
Browse files Browse the repository at this point in the history
…ache#22615)

Signed-off-by: jitokim <[email protected]>
  • Loading branch information
jitokim authored May 13, 2024
1 parent e558cfe commit 3b24b6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ public interface ConsumerBuilder<T> extends Cloneable {
ConsumerBuilder<T> readCompacted(boolean readCompacted);

/**
* Sets topic's auto-discovery period when using a pattern for topics consumer.
* Sets topic's auto-discovery period when using a pattern for topic's consumer.
* The period is in minutes, and the default and minimum values are 1 minute.
*
* @param periodInMinutes
Expand All @@ -476,7 +476,8 @@ public interface ConsumerBuilder<T> extends Cloneable {


/**
* Sets topic's auto-discovery period when using a pattern for topics consumer.
* Sets topic's auto-discovery period when using a pattern for topic's consumer.
* The default value of period is 1 minute, with a minimum of 1 second.
*
* @param interval
* the amount of delay between checks for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public int getMaxPendingChuckedMessage() {
name = "patternAutoDiscoveryPeriod",
value = "Topic auto discovery period when using a pattern for topic's consumer.\n"
+ "\n"
+ "The default and minimum value is 1 minute."
+ "The default value is 1 minute, with a minimum of 1 second."
)
private int patternAutoDiscoveryPeriod = 60;

Expand Down

0 comments on commit 3b24b6e

Please sign in to comment.