Spark structure streaming with mongodb change stream: allowDiskUse doesn't work

Did you set the option via " `spark.mongodb.read.aggregation.allowDiskUse" or just “aggregation.allowDiskUse” ?