anchor.diff:  include::{sourcedir}/src/test/java/com/github/gquintana/kafka/SpringMessageServiceIT.java[tags=start]
   ----
   <1> JUnit 4 Rule that will start an embedded Kafka and create a topic.
  -<2> The `kafka` rule is used to get embedded Kafka address.
  +<2> The `kafka` rule is used to get the embedded Kafka address.
   
   Spring Kafka Test contains a `KafkaTestUtils` class which is a swiss army knife to write Kafka related tests. 
   [source,java]
  
positive.code: You're developping a Java application plugged to Kafka, 
  or maybe you're programming a data processing pipeline based on Kafka Streams. How do you automate tests involving both Java code and Kafka brokers?
  
  Such an integrations should be able to
  
  . Start Zookeeper and then Kafka
  . Send messages into Kafka so as to trigger business code
  
negative.code: <3> Use `KafkaTestUtils` to quickly consume messages.
  <4> The `KafkaConditions` integrates with AssertJ to make received messages simpler.
  
  Spring Kafka Test is probably the way to go when you're developping a Spring application. 
  However this library lacks some syntactic sugar to make tests more readable.
  
  == Kafka in docker
  
  