我在反应式弹性搜索中的索引名称如下:logs-2020.08.17它将以每天为基础创建。我想获取最新的索引名,并使用reactiveElasticsearchClient或spring数据获取日志。有可能吗?我在我的spring webflux应用程序中尝试了以下方法:public Flux<Log> getLogFromLatestIndex(String serial
我想知道从资源中读取、解析和提供文件的正确方式是什么。目前,我这样做: fun getFile(request: ServerRequest): Mono<ServerResponse> { objectMapper.readValue(readFile("fileName.json"), JsonModel::class.java)
return o
在spring数据中,我可以轻松地执行以下查询:在reactive Spring data (MongoDB)中,我找不到对结果进行分页的有效方法。Mono<Page<MyClass>> findByX(String x, Pageable pageable);
看起来是一个很好的候选者,但失败了,出现了一个需要使用Flux.buffer(size