You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Support application level protocol message. (#294)
This will let us make breaking changes to the protocol while ensuring users get the right message on what todo. e.g update plugin or cli (client).
This is needed in general and also is a pre-requisite for the performance issue in destination plugins that will require breaking change in the destination protocol.
returnnil, fmt.Errorf("destination plugin protocol version %d is lower than client version %d. Try updating client", protocolVersion, versions.DestinationProtocolVersion)
returnnil, fmt.Errorf("destination plugin protocol version %d is higher than client version %d. Try updating destination plugin", protocolVersion, versions.DestinationProtocolVersion)
113
+
}
114
+
115
+
returnc, nil
97
116
}
98
117
99
118
// newManagedClient starts a new destination plugin process from local file, connects to it via gRPC server
returnnil, fmt.Errorf("source plugin protocol version %d is lower than client version %d. Try updating client", protocolVersion, versions.SourceProtocolVersion)
returnnil, fmt.Errorf("source plugin protocol version %d is higher than client version %d. Try updating destination plugin", protocolVersion, versions.SourceProtocolVersion)
117
+
}
118
+
119
+
returnc, nil
101
120
}
102
121
103
122
// newManagedClient starts a new source plugin process from local path, connects to it via gRPC server
0 commit comments