Skip to content

Commit

Permalink
Revert "add handler check;"
Browse files Browse the repository at this point in the history
This reverts commit 6db17a2.
  • Loading branch information
TaiJuWu committed Jan 8, 2025
1 parent 0b201e0 commit 2499172
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/src/main/scala/kafka/server/MetadataSupport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ sealed trait MetadataSupport {
if (!request.isForwarded && canForward()) {
forwardingManager.get.forwardRequest(request, responseCallback)
} else {
if (handler == null)
throw KafkaApis.shouldAlwaysForward(request)
handler(request)
}
}
Expand Down

0 comments on commit 2499172

Please sign in to comment.