Resolved by using the new @EnableReactiveMongoAuditing
annotation, plus a bean like
@Bean
public ReactiveAuditorAware<String> auditorProvider() {
return () -> Mono.just("Me");
}
The issue was likely related to the fact I had configured the app using @EnableReactiveMongoRepositories
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…