Skip to content

Commit

Permalink
Debug rust my ip (#1678)
Browse files Browse the repository at this point in the history
  • Loading branch information
HammadB authored Jan 24, 2024
1 parent 90eba6a commit ffbb69d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rust/worker/src/ingest/ingest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ impl Handler<Memberlist> for Ingest {
async fn handle(&mut self, msg: Memberlist, ctx: &ComponentContext<Self>) {
let mut new_assignments = HashSet::new();
let candidate_topics: Vec<String> = self.get_topics();
println!(
"Performing assignment for topics: {:?}. My ip: {}",
candidate_topics, self.my_ip
);
// Scope for assigner write lock to be released so we don't hold it over await
{
let mut assigner = match self.assignment_policy.write() {
Expand Down

0 comments on commit ffbb69d

Please sign in to comment.