specmesh / specmesh-build

https://specmesh.io/
Apache License 2.0
13 stars 5 forks source link

Add container network support #353

Closed walshe closed 1 month ago

walshe commented 1 month ago

Add test network support so that container broker and schema registry can be accessed in unit tests e.g.

appStack =
                new GenericContainer<>(
                                DockerImageName.parse("testing/datamesh-cdc-processor:1.0.0.0"))
                        .withEnv("KAFKA_BROKER", KAFKA_ENV.testNetworkKafkaBootstrapServers())
                        .withEnv("SCHEMA_REG_ENDPOINT", KAFKA_ENV.testNetworkSchemeRegistryServer())