Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

GCS source should produce distinct event types #1419

Description

@jmcx

Context

Currently, events produced by the GCS source are all typed as com.google.cloud.storage.notification. This is limiting particularly if you plan to listen to different types of GCS notifications (OBJECT_FINALIZE, OBJECT_METADATA_UPDATE, OBJECT_DELETE, OBJECT_ARCHIVE) but plan to route different notifications to different destinations.

Comparatively, the AWSS3 source and the Azure Blob Storage source already produce distinct event types for each type of change on an storage bucket.

Requirements

The GCS source should produce a distinct event type per type of bucket notification. Below is a suggestion for the names of these event types:

com.google.cloud.storage.objectfinalize
com.google.cloud.storage.objectmetadataupdate
com.google.cloud.storage.objectdelete
com.google.cloud.storage.objectarchive

Alternatively we could also keep the punctuation closer to the original name of the event, such as:

com.google.cloud.storage.OBJECT_FINALIZE

Metadata

Metadata

Assignees

Labels

feature requestRequest for a new featurep0Highest priority items

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions