Closed sehz closed 3 years ago
Questions?
Does the client currently have any way to access the cluster version information? It seems like no. Is that something that would be added to fluvio-protocol
somewhere? Can we make a specific request type that reports version information? Or could we pack the version information into a header somewhere?
We could add server version to Version Request which is already implemented as part of client to server negotiation
@sehz I'm planning on picking this up as my next task and I'm looking around for a starting point and I've got a few questions about what exists already:
Fluvio
, such as SharedAllMultiplexerSocket
) to access the SC server version information?fluvio-protocol
already carry the server version information that we could expose through the client? Based on your previous comment it sounds like there is at least a designated place for it in the protocol, but it might not actually be sent yet.Thanks for any tips you have :)
Alright I'm looking in src/client/src/client/client.rs
and I'm seeing a Versions
type wrapped around fluvio_spu_schema::server::versions::ApiVersions
.
What does this "version" information represent? Since it's coming from spu_schema
it seems like it would be reporting SPU versions. I don't think that's exactly what we want. If I'm not mistaken, this issue is about getting the SC server version. Would we need to simply follow a similar pattern with fluvio_sc_schema::versions::ApiVersions
?
Updated comment to reflect current Fluvio version schema. Instead of reporting sc
version which is not well defined now, report platform version
. This can be added to ApiVersionsResponse
How about?
Fluvio Client : 0.6.0-alpha.2
Fluvio Platform : 0.6.0-alpha.3
without version.
Currently when
version
command is perform in the CLI. It shows following:We should separate in terms of client and current server version. So it should be something like: