OmniaGM commented on code in PR #16040:
URL: https://github.com/apache/kafka/pull/16040#discussion_r1611702322


##########
core/src/main/scala/kafka/server/KafkaConfig.scala:
##########
@@ -1519,7 +1411,7 @@ class KafkaConfig private(doLog: Boolean, val props: 
java.util.Map[_, _], dynami
     require(!interBrokerUsesSasl || 
saslEnabledMechanisms(interBrokerListenerName).contains(saslMechanismInterBrokerProtocol),
       s"${KafkaSecurityConfigs.SASL_MECHANISM_INTER_BROKER_PROTOCOL_CONFIG} 
must be included in ${KafkaSecurityConfigs.SASL_ENABLED_MECHANISMS_CONFIG} when 
SASL is used for inter-broker communication")
     require(queuedMaxBytes <= 0 || queuedMaxBytes >= socketRequestMaxBytes,
-      s"${KafkaConfig.QueuedMaxBytesProp} must be larger or equal to 
${SocketServerConfigs.SOCKET_RECEIVE_BUFFER_BYTES_CONFIG}")
+      s"${KafkaServerConfigs.QUEUED_MAX_BYTES_CONFIG} must be larger or equal 
to ${SocketServerConfigs.SOCKET_RECEIVE_BUFFER_BYTES_CONFIG}")

Review Comment:
   Nice catch, I just translated this part and didn't think of rechecking it. 



-- 
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