micronaut-projects / micronaut-kafka

Integration between Micronaut and Apache Kafka
Apache License 2.0
83 stars 104 forks source link

Refactor tests to not use KafkaConsumer internals #982

Open jeremyg484 opened 6 months ago

jeremyg484 commented 6 months ago

Issue description

There are several tests that currently rely on the internal implementation details of KafkaConsumer. See those noted with TODOs in https://github.com/micronaut-projects/micronaut-kafka/pull/973.

As the internal implementation of KafkaConsumer is evolving significantly, we should refactor these tests to not depend on these internals thus making them more resilient to Kafka dependency upgrades.