Skip to content

Commit

Permalink
Repeater: fix typos in cli options' help text (close #221)
Browse files Browse the repository at this point in the history
  • Loading branch information
istreeter committed Oct 29, 2021
1 parent 629e7b3 commit 5f4dec2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ object RepeaterCli {
"bufferSize",
"Some failed inserts cannot be written to BigQuery, even after multiple attempts. " +
"These events are buffered and ultimately sunk to GCS." +
"The buffer is flushed when uninsertableBufferSize is reached or when uninsertableTimeout passes."
"The buffer is flushed when bufferSize is reached or when timeout passes."
)
.validate("Buffer size must be greater than 0.") { _ > 0 }
.withDefault(DefaultBufferSize)
Expand All @@ -47,13 +47,13 @@ object RepeaterCli {
"timeout",
"Some failed inserts cannot be written to BigQuery, even after multiple attempts. " +
"These events are buffered and ultimately sunk to GCS." +
"The buffer is flushed when uninsertableBufferSize is reached or when uninsertableTimeout passes."
"The buffer is flushed when bufferSize is reached or when timeout passes."
)
.validate("Timeout must be greater than 0.") { _ > 0 }
.withDefault(DefaultTimeout)

private val backoffPeriod = Opts
.option[Int]("backoffPeriod", "Time (in seconds) to wait before trying to re-insert the record(s).")
.option[Int]("backoffPeriod", "Time (in seconds) to wait before re-trying to insert the record(s).")
.validate("Backoff period must be greater than 0.") { _ > 0 }
.withDefault(DefaultBackoffTime)

Expand Down

0 comments on commit 5f4dec2

Please sign in to comment.