Running 2 Kafka Containers together #7427
rajjaiswalsaumya
started this conversation in
General
Replies: 1 comment
-
There is a example to set up a Kafka Cluster. See https://github.com/testcontainers/testcontainers-java/blob/main/examples/kafka-cluster/src/test/java/com/example/kafkacluster/KafkaContainerCluster.java |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to simulate a behavior in tests where I have to run 2 Kafka test containers where the message will be read from one Kafka Cluster and sent to another Kafka cluster. Somehow I am unable to run this and my test containers does not start.
Here is a class I am using to run test containers in java
I am running this class in a test class as
Can someone please point what is wrong here ?
Beta Was this translation helpful? Give feedback.
All reactions