将 Spring 批次的 CSV 文件写入 GCP 存储
Writing CSV file from Spring batch to GCP Storage
我想使用 Spring 批处理在 GCP 存储中写入 csv 文件,我可以看到我们可以在通过批处理创建 CSV 文件后上传文件,
但是有什么方法可以直接将文件从Spring批处理
写入GCP存储
这类似于直接写入 Amazon S3 的问题:spring batch file writer to write directly to amazon s3 storage without PutObjectRequest
你可以尝试使用Spring Cloud GCP and write a custom writer as shown in this example:
我想使用 Spring 批处理在 GCP 存储中写入 csv 文件,我可以看到我们可以在通过批处理创建 CSV 文件后上传文件,
但是有什么方法可以直接将文件从Spring批处理
写入GCP存储这类似于直接写入 Amazon S3 的问题:spring batch file writer to write directly to amazon s3 storage without PutObjectRequest
你可以尝试使用Spring Cloud GCP and write a custom writer as shown in this example: