Skip to content

Commit

Permalink
JAVA-7309: Take a look into failing apache-kafka tests
Browse files Browse the repository at this point in the history
  • Loading branch information
freelansam committed Oct 6, 2021
1 parent 375803d commit 682f036
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@

import static org.assertj.core.api.Assertions.assertThat;

// This live test needs a running Docker instance so that a kafka container can be created

@Testcontainers
class KafkaTopicApplicationIntegrationTest {
class KafkaTopicApplicationLiveTest {

@Container
private static final KafkaContainer KAFKA_CONTAINER = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:5.4.3"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

import static org.junit.Assert.assertEquals;

// This live test needs a Docker instance running so that kafka container can be created

public class KafkaSerDesLiveTest {
private static final String CONSUMER_APP_ID = "consumer_id";
private static final String CONSUMER_GROUP_ID = "group_id";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
import static org.apache.kafka.clients.producer.ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG;
import static org.apache.kafka.clients.producer.ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG;

// This live test needs a Docker instance running so that kafka container can be created

public class KafkaStreamsLiveTest {
private final String LEFT_TOPIC = "left-stream-topic";
private final String RIGHT_TOPIC = "right-stream-topic";
Expand Down

0 comments on commit 682f036

Please sign in to comment.