Skip to content

Commit

Permalink
Fixed error response for Too many get partition metadata request. (ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jai Asher authored and merlimat committed Dec 22, 2017
1 parent 334afa0 commit 3e7cd2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ protected void handlePartitionMetadataRequest(CommandPartitionedTopicMetadata pa
log.debug("[{}] Failed Partition-Metadata lookup due to too many lookup-requests {}", remoteAddress,
topic);
}
ctx.writeAndFlush(newLookupErrorResponse(ServerError.TooManyRequests,
ctx.writeAndFlush(Commands.newPartitionMetadataResponse(ServerError.TooManyRequests,
"Failed due to too many pending lookup requests", requestId));
}
}
Expand Down

0 comments on commit 3e7cd2c

Please sign in to comment.