Ernest Hill created KAFKA-8851: ---------------------------------- Summary: Timeout expired while initializing transactional state when running in Container Key: KAFKA-8851 URL: https://issues.apache.org/jira/browse/KAFKA-8851 Project: Kafka Issue Type: Bug Components: producer Affects Versions: 2.2.1 Environment: macOS Mojave Version 10.14.6 openjdk version "1.8.0_222" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode) Reporter: Ernest Hill Attachments: Test.java.txt, kafka.log
I'm trying to write an integration that will use transactions. When I run the test against my local instance of Kafka, everything is fine, but when I run it usingĀ org.testcontainers.containers.KafkaContainer, then I get the following error: Timeout expired while initializing transactional state in 60000ms. org.apache.kafka.common.errors.TimeoutException: Timeout expired while initializing transactional state in 60000ms. I don't know if there's a port I need to map. I have looked through the documentation but haven't found anything. I have attached the source for my test as well as a log file. -- This message was sent by Atlassian Jira (v8.3.2#803003)