TsgcWSPClient_KafkaMethods › GetApiVersions

GetApiVersions Method

Returns the API versions supported by the broker.

Syntax

function GetApiVersions: TsgcKafkaApiVersionsResponse;

Parameters

None.

Remarks

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.

Example

oVersions := oKafka.GetApiVersions;

Back to Methods