title: Symfony Messenger with Apache Kafka as queue transport
body: <p>I don't know how to configure <code>Kafka</code> for <code>Symfony messenger</code>. Everything works for <code>rabbitmq</code> (I created messenger and messenger handler):</p>
  
  <p>.<strong>env:</strong></p>
  
  <pre><code>MESSENGER_TRANSPORT_DSN=amqp://user:password@myhost:5672/%2f/messages
  </code></pre>
  
  <p><strong>config/packages/messenger.yaml</strong></p>
  
  <pre><code>framework:
    messenger:
      transports:
        async: "%env(MESSENGER_TRANSPORT_DSN)%"
  </code></pre>
  
  <p><strong>.env</strong></p>
  
  <pre><code>MESSENGER_TRANSPORT_DSN=enqueue://node-1.kafka.myhost.com:9092/%2f/messages
  </code></pre>
  
  <p><strong>config/packages/messenger.yaml</strong></p>
  
  <pre><code>framework:
    messenger:
      transports:
        async: "%env(MESSENGER_TRANSPORT_DSN)%"
  </code></pre>
  
  <p>Please, give me the best example. Thanks!</p>