spring-bootspring-boot-testcamundazeebe

zeebe test container connection issue after upgrade maven artifact 8.6.13 to 8.7.1


I have SpringBootApplication using following libary of camunda zeebe.

<dependency>
          <groupId>io.camunda</groupId>
          <artifactId>spring-boot-starter-camunda-sdk</artifactId>
          <version>8.6.13</version>
        </dependency>
        <dependency>
          <groupId>io.camunda</groupId>
          <artifactId>zeebe-protocol</artifactId>
          <version>8.6.13</version>
        </dependency>
        <dependency>
          <groupId>io.camunda</groupId>
          <artifactId>zeebe-process-test-extension-testcontainer</artifactId>
          <version>8.6.13</version>
          <scope>test</scope>
        </dependency>

The test starts zeebe as docker using testcontainer. The zeebe run fine as docker. After these maven jar point to 8.7.1 the Integration Tests start failing as getting Connection refused: /0.0.0.0:26500


Solution

  • In 8.7.1 zeebe api, the zeebe properties are prefixed slightly different.

    camunda.client.zeebe.grpc-address (8.7.1)

    zeebe.client.broker.grpc-address (older)

    The issue get resolved after using the zeebe connection property as per latest library.