The KafkaContainer currently has a dev dependency on kafkajs, which is no longer maintained https://github.com/tulios/kafkajs/issues/1753 I suggest migrating the tests to a supported SDK such as Confluent's or Platformatic's * https://github.com/confluentinc/confluent-kafka-javascript * https://github.com/platformatic/kafka I volunteer to do this.