AndrewJSchofield commented on code in PR #22502:
URL: https://github.com/apache/kafka/pull/22502#discussion_r3379436422
##########
core/src/main/java/kafka/server/share/SharePartition.java:
##########
@@ -3346,7 +3382,7 @@ private boolean isDLQEnabledForGroup() {
* Phase 2: Enqueues to DLQ, then transitions ARCHIVING → ARCHIVED and
persists ARCHIVED to the persister
* This method handles the complete phase 2 flow.
*/
- void initiateDLQAndArchive(InFlightState updatedState, long firstOffset,
+ void initiateDLQAndArchive(Runnable archiveAction, long firstOffset,
Review Comment:
`Supplier<Void>` is a bit obtuse I guess.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]