jolshan commented on code in PR #12501:
URL: https://github.com/apache/kafka/pull/12501#discussion_r950361551


##########
core/src/main/scala/kafka/server/KafkaConfig.scala:
##########
@@ -1295,7 +1298,8 @@ object KafkaConfig {
       .define(TransactionsAbortTimedOutTransactionCleanupIntervalMsProp, INT, 
Defaults.TransactionsAbortTimedOutTransactionsCleanupIntervalMS, atLeast(1), 
LOW, TransactionsAbortTimedOutTransactionsIntervalMsDoc)
       .define(TransactionsRemoveExpiredTransactionalIdCleanupIntervalMsProp, 
INT, Defaults.TransactionsRemoveExpiredTransactionsCleanupIntervalMS, 
atLeast(1), LOW, TransactionsRemoveExpiredTransactionsIntervalMsDoc)
 
-      .define(ProducerIdExpirationMsProp, INT, 
Defaults.ProducerIdExpirationMs, atLeast(1), HIGH, ProducerIdExpirationMsDoc)
+      .define(ProducerIdExpirationMsProp, INT, 
Defaults.ProducerIdExpirationMs, atLeast(1), LOW, ProducerIdExpirationMsDoc)
+      .defineInternal(ProducerIdExpirationCheckIntervalMsProp, INT, 
Defaults.ProducerIdExpirationCheckIntervalMs, atLeast(1), LOW, 
ProducerIdExpirationMsDoc)

Review Comment:
   I think you mean a comment for why we have this configuration -- ie, 
testing, and a small note about how default value is sufficient for typical 
usage.



##########
core/src/main/scala/kafka/server/KafkaConfig.scala:
##########
@@ -1295,7 +1298,8 @@ object KafkaConfig {
       .define(TransactionsAbortTimedOutTransactionCleanupIntervalMsProp, INT, 
Defaults.TransactionsAbortTimedOutTransactionsCleanupIntervalMS, atLeast(1), 
LOW, TransactionsAbortTimedOutTransactionsIntervalMsDoc)
       .define(TransactionsRemoveExpiredTransactionalIdCleanupIntervalMsProp, 
INT, Defaults.TransactionsRemoveExpiredTransactionsCleanupIntervalMS, 
atLeast(1), LOW, TransactionsRemoveExpiredTransactionsIntervalMsDoc)
 
-      .define(ProducerIdExpirationMsProp, INT, 
Defaults.ProducerIdExpirationMs, atLeast(1), HIGH, ProducerIdExpirationMsDoc)
+      .define(ProducerIdExpirationMsProp, INT, 
Defaults.ProducerIdExpirationMs, atLeast(1), LOW, ProducerIdExpirationMsDoc)
+      .defineInternal(ProducerIdExpirationCheckIntervalMsProp, INT, 
Defaults.ProducerIdExpirationCheckIntervalMs, atLeast(1), LOW, 
ProducerIdExpirationMsDoc)

Review Comment:
   I think you mean a comment for why we have this configuration -- ie, 
testing, and a small note about how default value is sufficient for typical 
usage. Let me know if you meant something else.



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to