Package de.otto.synapse.compaction.s3
Class SnapshotReadService
java.lang.Object
de.otto.synapse.compaction.s3.SnapshotReadService
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotReadService(SnapshotProperties properties, software.amazon.awssdk.services.s3.S3Client s3Client) SnapshotReadService(SnapshotProperties properties, software.amazon.awssdk.services.s3.S3Client s3Client, org.slf4j.Marker marker) -
Method Summary
Modifier and TypeMethodDescriptionretrieveLatestSnapshot(String channelName) voidsetSnapshotFile(File file) Force to read a local snapshot file instead of retrieving it from S3 bucket.
-
Constructor Details
-
SnapshotReadService
public SnapshotReadService(SnapshotProperties properties, software.amazon.awssdk.services.s3.S3Client s3Client) -
SnapshotReadService
public SnapshotReadService(SnapshotProperties properties, software.amazon.awssdk.services.s3.S3Client s3Client, org.slf4j.Marker marker)
-
-
Method Details
-
setSnapshotFile
Force to read a local snapshot file instead of retrieving it from S3 bucket.- Parameters:
file- local snapshot file to read
-
retrieveLatestSnapshot
-