case MENTIONS:
return new MentionsConsumer(te);
case PUBLIC:
return new PublicConsumer(te);
case RETWEETSOFME:
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);