Skip to content

Commit

Permalink
Remove Isolation from error description (@edoardocomar, #2148)
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocomar authored and edenhill committed Jan 15, 2019
1 parent 8c5c46e commit a367e53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src-cpp/rdkafkacpp.h
Expand Up @@ -363,7 +363,7 @@ enum ErrorCode {
ERR_INVALID_REQUEST = 42,
/** Message format on broker does not support request */
ERR_UNSUPPORTED_FOR_MESSAGE_FORMAT = 43,
/** Isolation policy volation */
/** Policy violation */
ERR_POLICY_VIOLATION = 44,
/** Broker received an out of order sequence number */
ERR_OUT_OF_ORDER_SEQUENCE_NUMBER = 45,
Expand Down
2 changes: 1 addition & 1 deletion src/rdkafka.c
Expand Up @@ -526,7 +526,7 @@ static const struct rd_kafka_err_desc rd_kafka_err_descs[] = {
_ERR_DESC(RD_KAFKA_RESP_ERR_UNSUPPORTED_FOR_MESSAGE_FORMAT,
"Broker: Message format on broker does not support request"),
_ERR_DESC(RD_KAFKA_RESP_ERR_POLICY_VIOLATION,
"Broker: Isolation policy volation"),
"Broker: Policy violation"),
_ERR_DESC(RD_KAFKA_RESP_ERR_OUT_OF_ORDER_SEQUENCE_NUMBER,
"Broker: Broker received an out of order sequence number"),
_ERR_DESC(RD_KAFKA_RESP_ERR_DUPLICATE_SEQUENCE_NUMBER,
Expand Down
2 changes: 1 addition & 1 deletion src/rdkafka.h
Expand Up @@ -456,7 +456,7 @@ typedef enum {
RD_KAFKA_RESP_ERR_INVALID_REQUEST = 42,
/** Message format on broker does not support request */
RD_KAFKA_RESP_ERR_UNSUPPORTED_FOR_MESSAGE_FORMAT = 43,
/** Isolation policy volation */
/** Policy violation */
RD_KAFKA_RESP_ERR_POLICY_VIOLATION = 44,
/** Broker received an out of order sequence number */
RD_KAFKA_RESP_ERR_OUT_OF_ORDER_SEQUENCE_NUMBER = 45,
Expand Down

0 comments on commit a367e53

Please sign in to comment.