use of org.zalando.nakadi.repository.MultiTimelineEventConsumer in project nakadi by zalando.
the class TimelineService method createEventConsumer.
public EventConsumer createEventConsumer(@Nullable final String clientId, final List<NakadiCursor> positions) throws NakadiException, InvalidCursorException {
final MultiTimelineEventConsumer result = new MultiTimelineEventConsumer(clientId, this, timelineSync, new NakadiCursorComparator(eventTypeCache));
result.reassign(positions);
return result;
}
Aggregations