Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dspeterson committed Jan 9, 2016
1 parent 7d114c1 commit ffd159d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bruce/kafka_proto/v0/wire_proto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ TWireProto::ProcessAck(int16_t ack_value, const std::string &topic,
int32_t partition) const {
assert(this);

/* The errors reported below are documented here:
https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ErrorCodes
*/
switch (static_cast<TErrorCode>(ack_value)) {
case TErrorCode::Unknown: {
AckErrorUnknown.Increment();
Expand Down

0 comments on commit ffd159d

Please sign in to comment.