chia7712 commented on a change in pull request #9318:
URL: https://github.com/apache/kafka/pull/9318#discussion_r498957874



##########
File path: core/src/main/scala/kafka/common/OffsetAndMetadata.scala
##########
@@ -45,8 +45,4 @@ object OffsetAndMetadata {
   def apply(offset: Long, metadata: String, commitTimestamp: Long, 
expireTimestamp: Long): OffsetAndMetadata = {
     OffsetAndMetadata(offset, Optional.empty(), metadata, commitTimestamp, 
Some(expireTimestamp))
   }
-
-  def apply(offset: Long, leaderEpoch: Optional[Integer], metadata: String, 
commitTimestamp: Long): OffsetAndMetadata = {

Review comment:
       used by testing only so I remove 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.

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


Reply via email to