Skip to content

Commit

Permalink
Promote MessageTimedOut to an error that will be retried (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
dparton authored and blt committed Mar 1, 2018
1 parent b572429 commit 29a6db5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sink/kafka.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ impl Kafka {
| RDKafkaError::NetworkException
| RDKafkaError::GroupLoadInProgress
| RDKafkaError::GroupCoordinatorNotAvailable
| RDKafkaError::MessageTimedOut
| RDKafkaError::NotCoordinatorForGroup
| RDKafkaError::NotEnoughReplicas
| RDKafkaError::NotEnoughReplicasAfterAppend
Expand Down Expand Up @@ -515,6 +516,7 @@ mod tests {
RDKafkaError::NetworkException,
RDKafkaError::GroupLoadInProgress,
RDKafkaError::GroupCoordinatorNotAvailable,
RDKafkaError::MessageTimedOut,
RDKafkaError::NotCoordinatorForGroup,
RDKafkaError::NotEnoughReplicas,
RDKafkaError::NotEnoughReplicasAfterAppend,
Expand Down

0 comments on commit 29a6db5

Please sign in to comment.