Skip to content

Commit

Permalink
Fix info
Browse files Browse the repository at this point in the history
  • Loading branch information
karolisg committed Mar 6, 2024
1 parent 891a564 commit 7703bfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dozer-ingestion/aerospike/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,15 @@ async fn batch_event_request_handler(

let mut mapped_messages = vec![];
trace!("Aerospike events {:?}", events);
info!("Events counts: {}", events.len());
for event in events {
mapped_messages.push(map_events(event, &state.tables_index_map).await);
}

info!("Mapped events count {}", mapped_messages.len());
let last_idx = mapped_messages.len() - 1;
for (idx, mapped_message) in mapped_messages.into_iter().enumerate() {
info!("Left in batch {}", last_idx - idx);
match mapped_message {
Ok(Some(message)) => {
trace!("Mapped message {:?}", message);
Expand Down

0 comments on commit 7703bfa

Please sign in to comment.