View Source KafkaEx.Messages.CreateTopics.TopicResult (kafka_ex v1.0.0-rc.1)
Represents the result of creating a single topic.
Fields
topic- Name of the topicerror- Error code as atom (:no_error on success)error_message- Human-readable error message (V1+, nil for V0)num_partitions- Number of partitions created (V5+, nil for V0-V4)replication_factor- Replication factor (V5+, nil for V0-V4)configs- List of topic config maps (V5+, nil for V0-V4). Each config map has::name,:value,:read_only,:config_source,:is_sensitive
Summary
Types
Functions
Builds a TopicResult struct.
Returns true if the topic was created successfully.