View Source KafkaEx.Protocol.Kayrock.CreateTopics.Response protocol (kafka_ex v1.0.0-rc.1)

This protocol is used to parse CreateTopics responses.

Return Values

  • All versions: {:ok, CreateTopics.t()} on success (may contain per-topic errors)
  • All versions: {:error, Error.t()} on request-level error

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

parse_response(response)

View Source
@spec parse_response(t()) ::
  {:ok, KafkaEx.Messages.CreateTopics.t()} | {:error, KafkaEx.Client.Error.t()}