KafkaEx.Protocol.ApiVersions (kafka_ex v0.12.1) View Source

Implementation of the Kafka ApiVersions request and response APIs

See: https://kafka.apache.org/protocol.html#The_Messages_ApiVersions

Reference implementation in Java: https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/ApiVersionsRequest.java https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/ApiVersionsResponse.java

Link to this section Summary

Link to this section Functions

Link to this function

create_request(correlation_id, client_id, this_api_version \\ 0)

View Source

Specs

create_request(integer(), binary(), integer()) :: binary()
Link to this function

parse_response(binary, this_api_version \\ 0)

View Source

Specs

parse_response(binary(), integer()) :: KafkaEx.Protocol.ApiVersions.Response.t()