confluentinc / ide-sidecar

Sidecar application used by Confluent for VS Code, as a local proxy for Confluent Cloud, Confluent Platform and local Kafka clusters, to help users build streaming applications.
Apache License 2.0
3 stars 3 forks source link

Change LocalTestEnvironment to start Kafka and SR containers on random unused ports #140

Open rhauch opened 1 week ago

rhauch commented 1 week ago

The LocalTestEnvironment (introduced in #134) starts a Kafka container and a Schema Registry container on fixed ports. We should change these to be random unused ports. This may or may not require a few changes to use the right port in our tests.

This is not critical, but would help avoid conflicts and problems if developers might already be running containers/services on these ports.