View Source KafkaEx.Messages.DeleteTopics.TopicResult (kafka_ex v1.0.0-rc.1)

Represents the result of deleting a single topic.

Fields

  • topic - Name of the topic
  • error - Error code as atom (:no_error on success)

Summary

Functions

Builds a TopicResult struct.

Returns true if the topic was deleted successfully.

Types

@type t() :: %KafkaEx.Messages.DeleteTopics.TopicResult{
  error: atom(),
  topic: String.t()
}

Functions

@spec build(Keyword.t()) :: t()

Builds a TopicResult struct.

@spec success?(t()) :: boolean()

Returns true if the topic was deleted successfully.