John Roesler created KAFKA-7852:
-----------------------------------
Summary: Add public version of EmbeddedKafkaCluster
Key: KAFKA-7852
URL: https://issues.apache.org/jira/browse/KAFKA-7852
Project: Kafka
Issue Type: Improvement
Reporter: John Roesler
Currently, Kafka Client and Streams applications do not have good support for
writing integration tests.
Streams added the TopologyTestDriver, which is a much more efficient approach
for testing Streams applications, specifically, but it's still more in the
domain of unit testing.
For integration tests, the current state is that people import test artifacts
from Kafka, which is not a well controlled public API.
It might be possible to offer a shim implementation of Kafka for testing, but
the API is so large and complicated that this seems like a huge effort that's
not likely to achieve or maintain perfect fidelity.
Therefore, it seems like the best thing would just be to clean up the
EmbeddedKafkaCluster and offer it in a public test-utils module.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)