Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Aug 12, 2024
1 parent 5cc3f93 commit 20b01ba
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/sinks/kafka/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,15 @@ impl Service<KafkaRequest> for KafkaService {
// A final/non-retriable error occurred.
Err((
err @ KafkaError::MessageProduction(
RDKafkaErrorCode::InvalidMessage |
RDKafkaErrorCode::InvalidMessageSize |
RDKafkaErrorCode::MessageSizeTooLarge |
RDKafkaErrorCode::UnknownTopicOrPartition |
RDKafkaErrorCode::InvalidRecord |
RDKafkaErrorCode::InvalidRequiredAcks |
RDKafkaErrorCode::TopicAuthorizationFailed |
RDKafkaErrorCode::UnsupportedForMessageFormat |
RDKafkaErrorCode::ClusterAuthorizationFailed
RDKafkaErrorCode::InvalidMessage
| RDKafkaErrorCode::InvalidMessageSize
| RDKafkaErrorCode::MessageSizeTooLarge
| RDKafkaErrorCode::UnknownTopicOrPartition
| RDKafkaErrorCode::InvalidRecord
| RDKafkaErrorCode::InvalidRequiredAcks
| RDKafkaErrorCode::TopicAuthorizationFailed
| RDKafkaErrorCode::UnsupportedForMessageFormat
| RDKafkaErrorCode::ClusterAuthorizationFailed,
),
_,
)) => return Err(err),
Expand Down

0 comments on commit 20b01ba

Please sign in to comment.