title: Spring Kafka transactional consumer only
body: <p>Referring to <a href="https://docs.spring.io/spring-kafka/reference/htmlsingle/#_transactional_listener_container" rel="nofollow noreferrer">spring-kafka doc</a> seems that is possible to configure a listener container to bind offset commit to a transaction.
  Since this paragraph is reported under <a href="https://docs.spring.io/spring-kafka/reference/htmlsingle/#_sending_messages" rel="nofollow noreferrer">Producer section</a>, from the context I can desume that configuring the listener container transactionally is a way to perform validation of producer transaction before committing it. </p>
  
  <p>What about consuming only? Is it possible to use kafkamessagelistenercontainer (configured with kafkatransactionmanager) to commit offset of consumed messages transactionally? I suppose no, because kafkaproducer and kafkaconsumer are not same api</p>