Search in sources :

Example 1 with ZookeeperSettings

use of org.zalando.nakadi.repository.zookeeper.ZookeeperSettings in project nakadi by zalando.

the class KafkaRepositoryAT method setup.

@Before
public void setup() {
    nakadiSettings = new NakadiSettings(MAX_TOPIC_PARTITION_COUNT, DEFAULT_PARTITION_COUNT, DEFAULT_REPLICA_FACTOR, DEFAULT_TOPIC_RETENTION, DEFAULT_TOPIC_ROTATION, DEFAULT_COMMIT_TIMEOUT, NAKADI_POLL_TIMEOUT, NAKADI_SEND_TIMEOUT, TIMELINE_WAIT_TIMEOUT, NAKADI_EVENT_MAX_BYTES, NAKADI_SUBSCRIPTION_MAX_PARTITIONS, DEFAULT_ADMIN_DATA_TYPE, DEFAULT_ADMIN_VALUE, DEFAULT_WARN_ALL_DATA_ACCESS_MESSAGE);
    kafkaSettings = new KafkaSettings(KAFKA_REQUEST_TIMEOUT, KAFKA_BATCH_SIZE, KAFKA_LINGER_MS, KAFKA_ENABLE_AUTO_COMMIT);
    zookeeperSettings = new ZookeeperSettings(ZK_SESSION_TIMEOUT, ZK_CONNECTION_TIMEOUT);
    kafkaHelper = new KafkaTestHelper(KAFKA_URL);
    kafkaTopicRepository = createKafkaTopicRepository();
}
Also used : ZookeeperSettings(org.zalando.nakadi.repository.zookeeper.ZookeeperSettings) NakadiSettings(org.zalando.nakadi.config.NakadiSettings) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 NakadiSettings (org.zalando.nakadi.config.NakadiSettings)1 ZookeeperSettings (org.zalando.nakadi.repository.zookeeper.ZookeeperSettings)1