Search in sources :

Example 1 with RecordUtils

use of org.bf2.admin.kafka.systemtest.utils.RecordUtils in project kafka-admin-api by bf2fc6cc711aee1a0c2a.

the class RecordEndpointOAuthTestIT method setup.

@BeforeEach
void setup() {
    String token = tokenUtils.getToken(UserType.OWNER.getUsername());
    topicUtils = new TopicUtils(config, token);
    topicUtils.deleteAllTopics();
    recordUtils = new RecordUtils(config, token);
    metricsUtils = new MetricsUtils(metricsUrl);
}
Also used : MetricsUtils(org.bf2.admin.kafka.systemtest.utils.MetricsUtils) RecordUtils(org.bf2.admin.kafka.systemtest.utils.RecordUtils) TopicUtils(org.bf2.admin.kafka.systemtest.utils.TopicUtils) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with RecordUtils

use of org.bf2.admin.kafka.systemtest.utils.RecordUtils in project kafka-admin-api by bf2fc6cc711aee1a0c2a.

the class RecordEndpointTestIT method setup.

@BeforeEach
void setup() {
    topicUtils = new TopicUtils(config, null);
    topicUtils.deleteAllTopics();
    recordUtils = new RecordUtils(config, null);
}
Also used : RecordUtils(org.bf2.admin.kafka.systemtest.utils.RecordUtils) TopicUtils(org.bf2.admin.kafka.systemtest.utils.TopicUtils) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

RecordUtils (org.bf2.admin.kafka.systemtest.utils.RecordUtils)2 TopicUtils (org.bf2.admin.kafka.systemtest.utils.TopicUtils)2 BeforeEach (org.junit.jupiter.api.BeforeEach)2 MetricsUtils (org.bf2.admin.kafka.systemtest.utils.MetricsUtils)1