Skip to content

Commit

Permalink
add split id
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Oct 8, 2023
1 parent 9ba70d5 commit d4a81e6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/connector/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,13 @@ async fn into_chunk_stream<P: ByteStreamSourceParser>(mut parser: P, data_stream
if msg.key.is_none() && msg.payload.is_none() {
continue;
}
split_offset_mapping.insert(msg.split_id, msg.offset.clone());
let parse_span = tracing::info_span!(
"parse_one",
split_id = msg.split_id.as_ref(),
offset = msg.offset
);

let parse_span = tracing::info_span!("parse_one", offset = msg.offset);
split_offset_mapping.insert(msg.split_id, msg.offset.clone());

let old_op_num = builder.op_num();
match parser
Expand Down

0 comments on commit d4a81e6

Please sign in to comment.