You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use S3's range API to fetch a chunk of bytes from S3 object instead of the whole object/file:
// Get a range of bytes from an object and print the bytes.
GetObjectRequest rangeObjectRequest = new GetObjectRequest(bucketName, key)
.withRange(0, 9);
Related to #126
You can use S3's range API to fetch a chunk of bytes from S3 object instead of the whole object/file:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/download-objects.html
This can be applied to S3ClientWrapper.fetchLogFile: https://github.com/aiven/tiered-storage-for-apache-kafka/blob/main/s3/src/main/java/io/aiven/kafka/tiered/storage/s3/S3ClientWrapper.java#L75
The text was updated successfully, but these errors were encountered: