Package de.otto.synapse.compaction.s3
Class SnapshotWriteService
java.lang.Object
de.otto.synapse.compaction.s3.SnapshotWriteService
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotWriteService(software.amazon.awssdk.services.s3.S3Client s3Client, SnapshotProperties properties) SnapshotWriteService(software.amazon.awssdk.services.s3.S3Client s3Client, SnapshotProperties properties, org.slf4j.Marker marker) -
Method Summary
Modifier and TypeMethodDescriptionwriteSnapshot(String channelName, de.otto.synapse.channel.ChannelPosition position, de.otto.synapse.state.StateRepository<String> stateRepository)
-
Constructor Details
-
SnapshotWriteService
public SnapshotWriteService(software.amazon.awssdk.services.s3.S3Client s3Client, SnapshotProperties properties) -
SnapshotWriteService
public SnapshotWriteService(software.amazon.awssdk.services.s3.S3Client s3Client, SnapshotProperties properties, org.slf4j.Marker marker)
-
-
Method Details
-
writeSnapshot
public String writeSnapshot(String channelName, de.otto.synapse.channel.ChannelPosition position, de.otto.synapse.state.StateRepository<String> stateRepository) throws IOException - Throws:
IOException
-