public synchronized Status getStatus()
{
- return new Status(running, pending, offsets, failures);
+ return new Status(username, running, pending, offsets, failures);
}
@Getter
public class Status
{
+ String username;
boolean running;
Set<Long> pending;
Map<Integer, Long> offsets;
List<RestFailure> failures;
private Status(
+ String username,
boolean running,
Set<Long> pending,
Map<Integer, Long> offsets,
List<RestFailure> failures)
{
+ this.username = username;
this.running = running;
guarded(() ->
{