title: How preferred is Kafka in Applications in terms of processing time without having Filters as in JMS selectors.
body: <ol>
  <li><p>Kafka does not have any concept of filters at the brokers that can ensure – messages that are being picked up by a consumer matches some criteria. The filtering has to happen at the consumers (or applications). - <em>So in this case there is an increase in the processing time at the client/consumer.</em></p></li>
  <li><p>In the case of JMS – if your messaging application needs to filter the messages it receives, you can use a JMS API message selector, which allows a message consumer to specify the messages it is interested in. Message selectors assign the work of filtering messages to the JMS provider rather than to the application. - <em>So in this case there is an increase in the processing time at the JMS provider</em></p></li>
  </ol>
  
  <p>Which of the above two proves to be better in terms of keeping the code clean and improving performance too? </p>