Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrehu committed Oct 7, 2023
1 parent bed6933 commit e92414d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

public final class K3aLagExporterIT {

private static K3aEmbedded kafka;
private static K3aEmbedded broker;
private static final String CLUSTER_NAME = "the-cluster";
private static final String TOPIC = "the-topic";
private static final String CONSUMER_GROUP_ID = "consumer-group";
Expand All @@ -45,13 +45,13 @@ public final class K3aLagExporterIT {
@BeforeAll
public static void beforeClass() {
LogUtils.initLogging();
kafka = new K3aEmbedded();
kafka.start();
broker = new K3aEmbedded();
broker.start();
}

@AfterAll
public static void afterClass() {
kafka.stop();
broker.stop();
}

@Test
Expand Down Expand Up @@ -149,7 +149,7 @@ public Map<String, Object> getMinimalConsumerConfig() {

private Map<String, Object> getCommonConfig() {
final Map<String, Object> map = new HashMap<>();
map.put(CommonClientConfigs.BOOTSTRAP_SERVERS_CONFIG, kafka.getBootstrapServers());
map.put(CommonClientConfigs.BOOTSTRAP_SERVERS_CONFIG, broker.getBootstrapServers());
return map;
}

Expand Down

0 comments on commit e92414d

Please sign in to comment.