Search in sources :

Example 6 with EventTypeOptions

use of org.zalando.nakadi.domain.EventTypeOptions in project nakadi by zalando.

the class EventTypeOptionsValidatorTest method createEventTypeOptions.

private EventTypeOptions createEventTypeOptions(final long retentionTime) {
    final EventTypeOptions eventTypeOptions = new EventTypeOptions();
    eventTypeOptions.setRetentionTime(retentionTime);
    return eventTypeOptions;
}
Also used : EventTypeOptions(org.zalando.nakadi.domain.EventTypeOptions)

Aggregations

EventTypeOptions (org.zalando.nakadi.domain.EventTypeOptions)6 Test (org.junit.Test)3 Date (java.util.Date)2 EventType (org.zalando.nakadi.domain.EventType)2 TestUtils.buildDefaultEventType (org.zalando.nakadi.utils.TestUtils.buildDefaultEventType)2