Skip to main content
版本:v2.0.0

Amazon S3 connector

Audience: operators bridging EventMesh with Amazon S3. S3 object bridge. Source lists new objects in a bucket (cursor = last key); sink writes each CloudEvent as an object keyed by the event id.


Classes

DirectionClassBehavior
Sourceorg.apache.eventmesh.connector.s3.source.S3SourceConnectorListObjectsV2 with startAfter(lastKey) each poll; new objects are fetched and emitted as CloudEvents, advancing the cursor.
Sinkorg.apache.eventmesh.connector.s3.sink.S3SinkConnectorPuts each CloudEvent's payload as an object (id = key) into the target bucket.

Source configuration

KeyDefaultDescription
connector.bucketeventsSource bucket
connector.prefix``Key prefix filter

Sink configuration

KeyDefaultDescription
connector.bucketsinkTarget bucket

Running

bin/start-connector.sh with -Dconnector.class=...S3SourceConnector -Dconnector.mode=source -Dconnector.bucket=incoming -Dconnector.prefix=2026/