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

update: support non-enumerable event sources in gRPC outputs service #1840

Merged
merged 3 commits into from
Jan 11, 2022

Conversation

jasondellaluce
Copy link
Contributor

What type of PR is this?

/kind design

/kind feature

Any specific area of the project related to this PR?

/area engine

What this PR does / why we need it:

See #1826 for details about the issue.

This deprecates the source field in outputs.proto, and adds a PLUGIN entry in the source enum. The goal is to maintain backward compatibility for clients relying on old protobufs versions. Accordingly, a new string field for the event source is added. This is required by plugin system, as the source name is determined by the source plugin loaded and it's not enumerable anymore.

Which issue(s) this PR fixes:

Fixes #1826

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

update: support non-enumerable event sources in gRPC outputs service

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
@poiana poiana added size/M and removed size/S labels Jan 10, 2022
Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link

poiana commented Jan 11, 2022

LGTM label has been added.

Git tree hash: 4af96c41d4cde004f665de34f62bd097a2c59cba

@poiana
Copy link

poiana commented Jan 11, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jasondellaluce, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@leogr
Copy link
Member

leogr commented Jan 11, 2022

/milestone 0.31.0

@poiana poiana added this to the 0.31.0 milestone Jan 11, 2022
@poiana poiana merged commit 0e52ef9 into master Jan 11, 2022
@poiana poiana deleted the fix/plugins-grpc branch January 11, 2022 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wip: schema.proto does not consider custom data source provided by plugins
4 participants