return new RetweetsConsumer(te);
case USER:
if (te.getProperties().getUser() == null || te.getProperties().getUser().trim().isEmpty()) {
throw new IllegalArgumentException("Fetch type set to USER TIMELINE but no user was set.");
} else {
return new UserConsumer(te);
}
default:
break;
}
}