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

[WIP] Processor plugin #1308

Closed
wants to merge 5 commits into from

Conversation

lovromazgon
Copy link
Member

Description

This adds a processor plugin and a builtin registry.

We should move the plugin interface into the SDK to simplify things. Then the plugin doesn't have to import Conduit and Conduit doesn't have to translate objects when sending them to the plugin (at least if it's a builtin plugin). This makes the architecture quite a bit faster and simpler than what we currently have with connector plugins.

Related to #1285

Quick checks:

  • I have followed the Code Guidelines.
  • There is no other pull request for the same update/change.
  • I have written unit tests.
  • I have made sure that the PR is of reasonable size and can be easily reviewed.

Comment on lines +79 to +80
SourceParams map[string]Parameter
DestinationParams map[string]Parameter
Copy link
Contributor

Choose a reason for hiding this comment

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

This comes probably from the connector SDK, but I believe we need only params for processors.

// records.
//
//nolint:revive // This interface will be moved into the SDK
type ProcessorPlugin interface {
Copy link
Contributor

Choose a reason for hiding this comment

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

As per the conversation we had earlier: ConduitIO/conduit-processor-sdk#1

Copy link
Contributor

Choose a reason for hiding this comment

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

The PR above was merged.

Base automatically changed from lovro/refactor-connector-plugin to feature/better-processors January 9, 2024 18:34
@lovromazgon
Copy link
Member Author

Closing in favor of #1322

@lovromazgon lovromazgon deleted the lovro/processor-plugin branch March 5, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants