Skip to content

Commit

Permalink
logging improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
ableegoldman committed Nov 1, 2019
1 parent 1234fe6 commit 7b1865a
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,21 +467,22 @@ public void setAssignmentMetadata(final Map<TaskId, Set<TopicPartition>> activeT
}

log.debug("Assigning metadata with: " +
"\tactiveTasks: {},\n" +
"\tstandbyTasks: {}\n" +
"The updated active task states are: \n" +
"\tpreviousAssignedActiveTasks: {},\n" +
"\tpreviousAssignedStandbyTasks: {}\n" +
"The updated task states are: \n" +
"\tassignedActiveTasks {},\n" +
"\tassignedStandbyTasks {},\n" +
"\taddedActiveTasks {},\n" +
"\taddedStandbyTasks {},\n" +
"\trevokedActiveTasks {},\n" +
"\trevokedStandbyTasks {}",
activeTasks, standbyTasks,
assignedActiveTasks, assignedStandbyTasks,
activeTasks, standbyTasks,
addedActiveTasks, addedStandbyTasks,
revokedActiveTasks, revokedStandbyTasks);
this.assignedActiveTasks = activeTasks;
this.assignedStandbyTasks = standbyTasks;

assignedActiveTasks = activeTasks;
assignedStandbyTasks = standbyTasks;
}

public void updateSubscriptionsFromAssignment(final List<TopicPartition> partitions) {
Expand Down

0 comments on commit 7b1865a

Please sign in to comment.