MINOR: Fix initProducerId throttle time to non-zero (#19801)
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:
Ritika Reddy 2025-05-27 14:57:23 -07:00 committed by GitHub
parent 25031373da
commit 17226faa80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}