You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2017/08/31 17:43:00 UTC
[jira] [Resolved] (KAFKA-1402) Create unit test helper that stops
and starts a cluster
[ https://issues.apache.org/jira/browse/KAFKA-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manikumar resolved KAFKA-1402.
------------------------------
Resolution: Fixed
We have KafkaServerTestHarness, EmbeddedKafkaCluster, EmbeddedZookeeper helper classes.
> Create unit test helper that stops and starts a cluster
> -------------------------------------------------------
>
> Key: KAFKA-1402
> URL: https://issues.apache.org/jira/browse/KAFKA-1402
> Project: Kafka
> Issue Type: Bug
> Reporter: Jay Kreps
>
> We have a zookeeper test harness. We used to have a kafka server test harness, but it looks like it has been deleted.
> Each test that wants to manage a server starts and stops it itself. This is a little problematic as it may not do a good job of cleaning up and there are lots of details to get right.
> We should have an EmbeddedKafkaCluster class like the EmbeddedZookeeper we have that starts N brokers and convert the existing full server classes to use this.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)