View Source KafkaEx.Protocol.CreateTopics (kafka_ex v0.13.0)

Implementation of the Kafka CreateTopics request and response APIs

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

Link to this section Summary

Link to this section Functions

Link to this function

api_version(api_versions)

View Source
Link to this function

create_request(correlation_id, client_id, create_topics_request, api_version)

View Source
@spec create_request(
  integer(),
  binary(),
  KafkaEx.Protocol.CreateTopics.Request.t(),
  integer()
) ::
  binary()
Link to this function

parse_response(arg, int)

View Source
@spec parse_response(binary(), integer()) ::
  [] | KafkaEx.Protocol.CreateTopics.Response.t()