title: How to use Spring Kafka 2.1.0.RELEASE
body: <p>It is really great to grab the <strong>Spring Kafka 2.1.0.RELEASE</strong>  to unleash the power of the <strong>kafka client 1.0.0</strong>. However when I tried to use it <strong>spring boot 1.5.9.RELEASE</strong> , which is the latest release version of boot it throws an exception .</p>
  
  <pre><code>java.lang.NoSuchMethodError: org.springframework.util.Assert.state(ZLjava/util/function/Supplier;)V
  at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.determineInferredType(MessagingMessageListenerAdapter.java:396) ~[spring-kafka-2.1.0.RELEASE.jar:2.1.0.RELEASE]
  at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.&lt;init&gt;(MessagingMessageListenerAdapter.java:100) ~[spring-kafka-2.1.0.RELEASE.jar:2.1.0.RELEASE]
  at org.springframework.kafka.listener.adapter.RecordMessagingMessageListenerAdapter.&lt;init&gt;(RecordMessagingMessageListenerAdapter.java:61) ~[spring-kafka-2.1.0.RELEASE.jar:2.1.0.RELEASE]
  </code></pre>
  
  <p>My POM file is </p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.5.9.RELEASE&lt;/version&gt;
      &lt;relativePath /&gt;
  &lt;/parent&gt;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.kafka&lt;/groupId&gt;
          &lt;artifactId&gt;spring-kafka&lt;/artifactId&gt;
          &lt;version&gt;2.1.0.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.kafka&lt;/groupId&gt;
          &lt;artifactId&gt;spring-kafka-test&lt;/artifactId&gt;
          &lt;version&gt;2.1.0.RELEASE&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>.....</p>
  
  <p>How should I be able to use Spring Kafka 2.1.0.RELEASE with a spring boot project .</p>
  
  <p>Is there any release of boot that support spring 5 yet.</p>
  
  <p>Thanks 
  Joy</p>