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


##########
core/src/main/scala/kafka/server/KafkaApis.scala:
##########
@@ -2472,7 +2472,17 @@ class KafkaApis(val requestChannel: RequestChannel,
     val filteredProducerIds = 
listTransactionsRequest.data.producerIdFilters.asScala.map(Long.unbox).toSet
     val filteredStates = 
listTransactionsRequest.data.stateFilters.asScala.toSet
     val durationFilter = listTransactionsRequest.data.durationFilter()
-    val response = txnCoordinator.handleListTransactions(filteredProducerIds, 
filteredStates, durationFilter)
+    val transactionalIdPatternFilter = if 
(listTransactionsRequest.data.transactionalIdPattern == null) {
+      ""

Review Comment:
   Do we need this as well? We have a null check in TransactionStateManager



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