Skip to content

Commit 503eaa0

Browse files
author
Devdutt Shenoi
authored
fix: incompatibility from merge (#1046)
Fixes type incompatibility that stems from merging #1021 after #981
1 parent 4d3437c commit 503eaa0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: src/kafka.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,11 @@ async fn ingest_message(msg: BorrowedMessage<'_>) -> Result<(), KafkaError> {
228228
let static_schema_flag = STREAM_INFO.get_static_schema_flag(stream_name)?;
229229

230230
let (rb, is_first) = event
231-
.into_recordbatch(schema, static_schema_flag, time_partition)
231+
.into_recordbatch(
232+
&schema,
233+
static_schema_flag.as_ref(),
234+
time_partition.as_ref(),
235+
)
232236
.map_err(|err| KafkaError::PostError(PostError::CustomError(err.to_string())))?;
233237

234238
event::Event {

0 commit comments

Comments
 (0)