fix embedded kafka port (#15296)
This commit is contained in:
parent
5d61699e3e
commit
36cc0c07eb
|
@ -14,7 +14,7 @@ import java.util.Objects;
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
|
||||||
@SpringBootTest(classes = ManagingConsumerGroupsApplicationKafkaApp.class)
|
@SpringBootTest(classes = ManagingConsumerGroupsApplicationKafkaApp.class)
|
||||||
@EmbeddedKafka(partitions = 2, brokerProperties = {"listeners=PLAINTEXT://localhost:9092", "port=9092"})
|
@EmbeddedKafka(partitions = 2, brokerProperties = {"listeners=PLAINTEXT://localhost:9098", "port=9098"})
|
||||||
public class ManagingConsumerGroupsIntegrationTest {
|
public class ManagingConsumerGroupsIntegrationTest {
|
||||||
|
|
||||||
private static final String CONSUMER_1_IDENTIFIER = "org.springframework.kafka.KafkaListenerEndpointContainer#1";
|
private static final String CONSUMER_1_IDENTIFIER = "org.springframework.kafka.KafkaListenerEndpointContainer#1";
|
||||||
|
|
Loading…
Reference in New Issue