I faced an issue using this excellent starter (thank you). Our service was running behind Google Cloud Run which defines a hard limit of 32MB response unless the
from: https://cloud.google.com/run/quotas#cloud_run_limits
Maximum HTTP/1 response size | 32 MiB if not using Transfer-Encoding: chunked or streaming mechanisms
The Download endpoint sets the headers for file transfer, but doesn't specifically return a 'friendly' streaming response (at least not friendly to Google Cloud Run):
|
return ResponseEntity.ok() |
I suspect this method would need to change to something like a StreamingResponseBody, possibly?
I faced an issue using this excellent starter (thank you). Our service was running behind Google Cloud Run which defines a hard limit of 32MB response unless the
from: https://cloud.google.com/run/quotas#cloud_run_limits
The Download endpoint sets the headers for file transfer, but doesn't specifically return a 'friendly' streaming response (at least not friendly to Google Cloud Run):
flight-recorder-starter/src/main/java/de/mirkosertic/flightrecorderstarter/actuator/FlightRecorderEndpoint.java
Line 121 in c47fe6f
I suspect this method would need to change to something like a StreamingResponseBody, possibly?