3 ms·
> If only you could simulate the entire Kafka infrastructure in a JVM so that messages can be published and consumed without relying on Kafka... After all, you
by rad_gruchalski 7y ago
> If only you could simulate the entire Kafka infrastructure in a JVM so that messages can be published and consumed without relying on Kafka... After all, you just want to know that your application components integrate correctly; you aren't trying to test Kafka.
It depends on what one is trying to test. For simple connectivity, sure. If one wants to test more advanced features, this could be not enough.
By the way, it’s possible to run entire cluster in tests. Here’s an (older) example: https://github.com/radekg/kafka-cluster-tools https://github.com/radekg/kafka-cluster-tools.