Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove protobuf format until someone has time to redo it. #504

Closed
wants to merge 1 commit into from

Conversation

evankanderson
Copy link
Contributor

Alas, poor proto... needs update for #492, and I don't have time.

@evankanderson
Copy link
Contributor Author

Note that since proto binary encoding does not contain the keys, either something like the AVRO mapping (see #497), or something like the HTTP transport will be needed for the payload. I would suggest simply encoding the payload as bytes and not transcoding JSON structured data into proto specifically.

Ideally, a CL that re-introduced this format would also include [gRPC][https://grpc.io] bindings.

@duglin duglin added the v1.0 label Sep 12, 2019
@duglin
Copy link
Collaborator

duglin commented Sep 14, 2019

Since @erikerikson is AFK for a bit he asked me to complete this in a new PR. See: #507

@duglin duglin closed this Sep 14, 2019
bsideup added a commit to bsideup/liiklus that referenced this pull request Feb 26, 2020
CloudEvents is an essential choice for Liiklus since it is the standard that we were missing when we created Liiklus.

It introduces a clear notion of id, type and other fields that can be helpful for applying schema, RBAC, metrics and many other features

At this stage, CloudEvents v1 is used as internal representation, and `LiiklusEvent` at the API level since there is no Protobuf format for CloudEvents yet:
cloudevents/spec#504
`LiiklusEvent` follows the v1 of the spec. Once Protobuf definitions are available, we will deprecate `LiiklusEvent` and start using CloudEvent message type. oneof and format are there for a smooth migration.

The implementation requires you to provide a plugin to "upcast" old events (use `RecordPreProcessor`/`RecordPostProcessor`). See `CloudEventsTest` for an example of it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants