Skip to content

Commit

Permalink
Merge pull request #10607 from elindsey/kafkaerrmsg
Browse files Browse the repository at this point in the history
correct kafka error message during purification
  • Loading branch information
elindsey committed Feb 11, 2022
2 parents fc91702 + d2f3309 commit 0362bf2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sql/src/pure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ pub fn purify(
let consumer = kafka_util::create_consumer(&broker, &topic, &config_options)
.await
.map_err(|e| {
anyhow!(
"Cannot create Kafka Consumer for determining start offsets: {}",
e
)
anyhow!("Failed to create and connect Kafka consumer: {}", e)
})?;

// Translate `kafka_time_offset` to `start_offset`.
Expand Down

0 comments on commit 0362bf2

Please sign in to comment.