Code Room
Code reviewHard
Question
Review this Java downstream-call config.
What a strong answer looks like
Separate real bugs from style. Rank issues by severity, point at the root cause rather than the symptom, and suggest a concrete fix — specific and kind.
Learn the concepts
@Componentpublic class ProfileClient { private final RestTemplate rt = new RestTemplate(); // default factory public Profile getProfile(long id) { return rt.getForObject("http://profile-svc/u/" + id, Profile.class); } public List<Profile> getMany(List<Long> ids) { return ids.stream() .map(this::getProfile) .collect(Collectors.toList()); }}Run or narrate your approach, then ask the coach.