Configuration Storage Trait for Connectors Runtime #2343
Replies: 1 comment
-
|
Hey, And actually, the get and delete functions could take an optional version parameter (if not provided, fallback to the current one) so that it'd be easy to store/rollback to previous configurations if needed. Additional extensions like audit logs, etc., could be implemented in the future. The connectors API (which are now read-only endpoints for sink and source plugins) should use the particular config storage trait to perform all the actions, and on top of this, there could be a basic background job with a configurable interval, polling for changes (e.g. by comparing the mentioned config versions) to automatically update the configs stored in memory. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
I'd like to propose extending the connectors runtime to support pluggable configuration storage through a trait-based approach. This would align the connectors runtime configuration management with the patterns already established in the Iggy server.
Proposed Changes
1. Configuration Storage Trait
Introduce a trait that abstracts configuration storage operations. This would enable:
2. Extended Connectors API
Enhance the connectors API layer to support:
Benefits
Use Cases
Questions for Discussion
Looking forward to hearing your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions