Using the STREAMS_LOGS_SUPPORT_8_19 transport version (#129796)

* Using the STREAMS_LOGS_SUPPORT_8_19 transport version

* Update StreamsMetadata.java

Returning null from getMinimalSupportedVersion

* Return minimal supported version as 8.19 for metadata object to fix test fail

---------

Co-authored-by: Luke Whiting <luke.whiting@elastic.co>
This commit is contained in:
Keith Massey 2025-06-23 09:20:20 -05:00 committed by GitHub
parent cef717c087
commit 2f3b2b39c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -59,7 +59,13 @@ public class StreamsMetadata extends AbstractNamedDiffable<Metadata.ProjectCusto
@Override
public TransportVersion getMinimalSupportedVersion() {
return TransportVersions.STREAMS_LOGS_SUPPORT;
return TransportVersions.STREAMS_LOGS_SUPPORT_8_19;
}
@Override
public boolean supportsVersion(TransportVersion version) {
return version.onOrAfter(TransportVersions.STREAMS_LOGS_SUPPORT)
|| version.isPatchFrom(TransportVersions.STREAMS_LOGS_SUPPORT_8_19);
}
public static NamedDiff<Metadata.ProjectCustom> readDiffFrom(StreamInput in) throws IOException {