Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8852

Timeout expired while initializing transactional state when running in Container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.1
    • None
    • producer
    • None

    Description

      I'm trying to right an integration test that will use transactions. When I run the test using my local instance of Kafka everything is fine. When I try to run it usingĀ org.testcontainers.containers.KafkaContainer I get the following error:
      Timeout expired while initializing transactional state in 60000ms.

      I don't know if there's a port I need to map. I've looked through the documentation and haven'f found anything. I've attached the source for my test as well as the log file.

      Attachments

        1. Test.java.txt
          1 kB
          Ernest Hill
        2. kafka.log
          7 kB
          Ernest Hill

        Activity

          People

            Unassigned Unassigned
            ErnestHi11 Ernest Hill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: