Skip to content

feature request: working draft for cloudevents spec#8768

Open
allen-munsch wants to merge 3 commits into
google:masterfrom
allen-munsch:master
Open

feature request: working draft for cloudevents spec#8768
allen-munsch wants to merge 3 commits into
google:masterfrom
allen-munsch:master

Conversation

@allen-munsch
Copy link
Copy Markdown

@allen-munsch allen-munsch commented Nov 10, 2025

The following is a draft PR to discuss adding a CNCF CloudEvents specification for flatbuffers.

References:

My original use case was to use flatbuffers in a zero copy pass through proxy in a low latency environment.

Edit (adds draft PR link):

Comment thread docs/source/cloudevents_spec.md Outdated
Comment thread docs/source/cloudevents_spec.md Outdated
Comment thread docs/source/cloudevents_spec.md Outdated
Comment thread docs/source/cloudevents_spec.md Outdated
Comment thread docs/source/cloudevents_spec.md
Comment thread docs/source/cloudevents_spec.md
@allen-munsch allen-munsch marked this pull request as ready for review December 1, 2025 16:51
Comment thread docs/source/cloudevents_spec.md Outdated
Comment thread docs/source/cloudevents_spec.md
Comment thread docs/source/cloudevents_spec.md
@allen-munsch
Copy link
Copy Markdown
Author

allen-munsch commented Dec 5, 2025

@duglin @jskeet

Thank you both. I saw your reviews and iterated on the draft, sticking to the extensions approach.

  • Added type field to ExtensionAttributes table for transcoding support (jskeet)
  • Documented valid type values: Boolean, Integer, String, Binary, URI, URI-reference, Timestamp
  • Added extension serialization rules table in Section 2.4
  • Clarified envelope schema must be pre-shared; dataschema applies to payload only (duglin)
  • Simplified Section 3 per jskeet suggestion: data stored as [ubyte], consult datacontenttype

Let me know if this addresses your concerns.

Comment thread docs/source/cloudevents_spec.md Outdated
Copy link
Copy Markdown

@jskeet jskeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cracking - I don't think I have any more comments. Looks good.

Comment thread docs/source/cloudevents_spec.md Outdated
@duglin
Copy link
Copy Markdown

duglin commented Feb 4, 2026

any update on this one?

@allen-munsch
Copy link
Copy Markdown
Author

allen-munsch commented Feb 12, 2026

@duglin

any update on this one?

looks like the CLA CI/CD is broken?

also, just an FYI, been using the proposed spec at work, it's been a very good in the use cases

edit: i added a link back to the Draft PR: cloudevents/spec#1373 in the PR description above

@duglin
Copy link
Copy Markdown

duglin commented Feb 12, 2026

@allen-munsch go ahead and squash the PR and remove me from the commits - I think that'll fix the CLA checker

@duglin
Copy link
Copy Markdown

duglin commented Feb 12, 2026

And rebase too

Update docs/source/cloudevents_spec.md
remove redundant (required)
fix typo ExtensionAttributes
Address jskeet and duglin review feedback

- Add type field to ExtensionAttributes table for transcoding support (jskeet)
- Document valid type values: Boolean, Integer, String, Binary, URI, URI-reference, Timestamp
- Add extension serialization rules table in Section 2.4
- Clarify envelope schema must be pre-shared; dataschema applies to payload only (duglin)
- Simplify Section 3 per jskeet suggestion: data stored as [ubyte], consult datacontenttype

adds enum for extensions type
add clarity on which attributes per jtdavis777's comment

Signed-off-by: allen-munsch <[email protected]>
@allen-munsch
Copy link
Copy Markdown
Author

@duglin ah yep, done

@allen-munsch
Copy link
Copy Markdown
Author

merged master
resolved conversations

@duglin
Copy link
Copy Markdown

duglin commented May 21, 2026

merged master resolved conversations

Does this mean we're close?

@allen-munsch
Copy link
Copy Markdown
Author

@dbaileychess is this one getting warmer? or colder?

@allen-munsch allen-munsch requested a review from jtdavis777 May 21, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants