![License](http://img.shields.io/:license-Apache 2.0-blue.svg)
A Maven plugin to start and stop a Kafka broker during tests.
<build>
<plugins>
<plugin>
<groupId>com.arturmkrtchyan.kafka</groupId>
<artifactId>kafka-maven-plugin</artifactId>
<version>0.0.1</version>
<configuration>
<scalaVersion>2.9.2</scalaVersion>
<kafkaVersion>0.8.2.1</kafkaVersion>
</configuration>
<executions>
<execution>
<id>pre-integration</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>post-integration</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
This plugin has 3 goals: