apache / apache/beam

Add support for CloudEvent 1.0 specification

Open
#21,286 0 comments 0 reactions 0 assignees View on GitHub
beam-model extensions gcp ideas new feature P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Add support for CloudEvent 1.0 specification.

Since the CloudEvent spec is gaining popularity and the 1.0 version is stable, it would be nice to have apache beam support for this specification when processing inbound and outbound messages.

It currently exists an specification of how CloudEvents must be sent in PubSub and RocketMQ: [https://github.com/cloudevents/spec/blob/main/cloudevents/proprietary-specs.md](https://github.com/cloudevents/spec/blob/main/cloudevents/proprietary-specs.md)

The PubSub Message is already a IO class, and it would be great to add a transformation that allow developers to transform a PubsubMessage PCollection to a CloudEvent PCollection and the other way around out of the box.

 

 

Imported from Jira [BEAM-13754](https://issues.apache.org/jira/browse/BEAM-13754). Original Jira may contain additional context.
Reported by: CarlesCF.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.