misha_cafex v0.0.6 Cafex.Protocol.Errors

Use atom to represent the numeric error codes.

For more details about errors, read A Guide To The Kafka Protocol

Summary

Types

t ::
  :no_error |
  :offset_out_of_range |
  :invalid_message |
  :unknown_topic_or_partition |
  :invalid_message_size |
  :leader_not_available |
  :not_leader_for_partition |
  :request_timed_out |
  :broker_not_available |
  :replica_not_available |
  :message_size_too_large |
  :stale_controller_epoch |
  :offset_metadata_too_large |
  :group_load_in_progress |
  :group_coordinator_not_available |
  :not_coordinator_for_group |
  :invalid_topic |
  :record_list_too_large |
  :not_enough_replicas |
  :not_enough_replicas_after_append |
  :invalid_required_acks |
  :illegal_generation |
  :inconsistent_group_protocol |
  :invalid_group_id |
  :unknown_member_id |
  :invalid_session_timeout |
  :rebalance_in_progress |
  :invalid_commit_offset_size |
  :topic_authorization_failed |
  :group_authorization_failed |
  :cluster_authorization_failed |
  :unknown_error

Functions

error(error_code)

Specs

error(error_code :: integer) :: t