mirror of https://github.com/apache/kafka.git
MINOR: Fix initProducerId throttle time to non-zero (#19801)
CI / build (push) Waiting to run
Details
CI / build (push) Waiting to run
Details
There was a small error in setting the throttle time in the
InitProducerId response in this PR
[53e95ffcdb (diff-1f7f71b4fbeaf65123e65cf2e4d9c2ae8153820869eb5e88279df979130929d2R69)
](url),
which was supposed to be mostly mechanical changes.
Reviewers: Justine Olshan <jolshan@confluent.io>
This commit is contained in:
parent
25031373da
commit
17226faa80
|
@ -62,7 +62,7 @@ public class InitProducerIdRequest extends AbstractRequest {
|
|||
.setErrorCode(Errors.forException(e).code())
|
||||
.setProducerId(RecordBatch.NO_PRODUCER_ID)
|
||||
.setProducerEpoch(RecordBatch.NO_PRODUCER_EPOCH)
|
||||
.setThrottleTimeMs(0);
|
||||
.setThrottleTimeMs(throttleTimeMs);
|
||||
return new InitProducerIdResponse(response);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue