private void notifyS3ObjectDeleted(List<Long> deletedObjectIds) {
            // notify the controller an objects deletion event to drive the removal of the objects
            ControllerRequestContext ctx = new ControllerRequestContext(
                null, null, OptionalLong.empty());
            quorumController.notifyS3ObjectDeleted(ctx, deletedObjectIds).whenComplete((ignore, exp) -> {
                if (exp != null) {
                    log.error("Failed to notify the controller the S3Object deletion event, objectIds: {}",
                        Arrays.toString(deletedObjectIds.toArray()), exp);
                }
            });
        }
Generate RemoveS3ObjectRecord for the deleted S3Objects.

@param deletedObjectIds the deleted S3Objects' ids
@return the result of the generation, contains the records which should be applied to the raft.
metadata/src/main/java/org/apache/kafka/controller/stream/S3ObjectControlManager.java