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

A collection of common request generation and response parsing functions for the Kafka wire protocol.

Link to this section Summary

Link to this section Functions

Link to this function

encode_nullable_string(text)

View Source

Specs

encode_nullable_string(String.t()) :: binary()

Specs

encode_string(String.t()) :: binary()
Link to this function

map_encode(elems, function)

View Source
Link to this function

parse_topics(topics_size, arg2, mod)

View Source
Link to this function

read_array(num_items, data_after_array, read_one)

View Source

Generate the wire representation for a list of topics.