TsgcWSPClient_Kafka › Methods › GetApiVersions
Returns the API versions supported by the broker.
function GetApiVersions: TsgcKafkaApiVersionsResponse;
None.
Returns a TsgcKafkaApiVersionsResponse listing the API keys and the minimum and maximum versions of each protocol request supported by the broker. The client uses this information to negotiate a compatible protocol version for subsequent requests.
oVersions := oKafka.GetApiVersions;