mmodzelewski commented on code in PR #2348:
URL: https://github.com/apache/iggy/pull/2348#discussion_r2536618474
##########
core/connectors/runtime/src/configs/connectors.rs:
##########
@@ -110,9 +164,46 @@ pub struct StreamProducerConfig {
pub linger_time: Option<String>,
}
+#[derive(Debug, Clone, Serialize, Deserialize)]
+pub struct ConnectorConfigVersionInfo {
+ pub version: u64,
+ pub is_active: bool,
+}
+
+#[derive(Debug, Default, Clone, Serialize, Deserialize)]
+pub struct ConnectorConfigVersions {
+ pub sinks: HashMap<String, Vec<ConnectorConfigVersionInfo>>,
Review Comment:
Yeah, probably active ones would be enough if we want to use it just for
checking with what's currently in the runtime. I'll update it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]