Skip to content

MODINV-1095: kafka.KafkaContainer, apache/kafka-native:3.8.0#776

Merged
julianladisch merged 2 commits intomasterfrom
MODINV-1095-kafka-native
Oct 16, 2024
Merged

MODINV-1095: kafka.KafkaContainer, apache/kafka-native:3.8.0#776
julianladisch merged 2 commits intomasterfrom
MODINV-1095-kafka-native

Conversation

@julianladisch
Copy link
Copy Markdown
Contributor

@julianladisch julianladisch commented Oct 11, 2024

Upgrade from deprecated org.testcontainers.containers.KafkaContainer to org.testcontainers.kafka.KafkaContainer, see https://java.testcontainers.org/modules/kafka/

Upgrade from confluentinc/cp-kafka 7.0.3 to apache/kafka-native:3.8.0, see https://hub.docker.com/r/apache/kafka-native

This reduces the build time by 8 seconds on GitHub Actions (ubuntu-latest, 2 cores of AMD EPYC 7763 64-Core Processor) and the Kafka image size from 381 MB to 47 MB.

If the build fails with NoSuchMethodError about FileTimes.toUnixTime later then downgrade commons-compress to 1.26.2, see testcontainers/testcontainers-java#8354 and https://github.com/folio-org/mod-users/pull/373/files

Upgrade from deprecated org.testcontainers.containers.KafkaContainer to org.testcontainers.kafka.KafkaContainer, see https://java.testcontainers.org/modules/kafka/

Upgrade from confluentinc/cp-kafka 7.0.3 to apache/kafka-native:3.8.0, see https://hub.docker.com/r/apache/kafka-native

This reduces the build time by 8 seconds on GitHub Actions (ubuntu-latest, 2 cores of AMD EPYC 7763 64-Core Processor) and the Kafka image size from 381 MB to 47 MB.
@julianladisch julianladisch requested a review from a team October 11, 2024 22:35
@sonarqubecloud
Copy link
Copy Markdown

@julianladisch julianladisch merged commit b12aa4d into master Oct 16, 2024
@julianladisch julianladisch deleted the MODINV-1095-kafka-native branch October 16, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants