Current section
Files
Jump to
Current section
Files
include/kafkerl.hrl
%% Error codes
-define(NO_ERROR, 0).
-define(OFFSET_OUT_OF_RANGE, 1).
-define(INVALID_MESSAGE, 2).
-define(UNKNOWN_TOPIC_OR_PARTITION, 3).
-define(INVALID_MESSAGE_SIZE, 4).
-define(LEADER_NOT_AVAILABLE, 5).
-define(NOT_LEADER_FOR_PARTITION, 6).
-define(REQUEST_TIMEDOUT, 7).
-define(BROKER_NOT_AVAILABLE, 8).
-define(REPLICA_NOT_AVAILABLE, 9).
-define(MESSAGE_SIZE_TOO_LARGE, 10).
-define(STALE_CONTROLLER_EPOCH, 11).
-define(OFFSET_METADATA_TOO_LARGE, 12).
-define(OFFSETS_LOAD_IN_PROGRESS_CODE, 14).
-define(CONSUMER_COORDINATOR_NOT_AVAILABLE_CODE, 15).
-define(NOT_COORDINATOR_FOR_CONSUMER_CODE, 16).
-define(UNKNOWN, -1).