I am trying out Spark SQL structure streaming with Kafka. I am looking for this mandatory option subscribePattern[Java regex string] for the kafka option. apparently only 3 values are possible: "assign, "subscribe" or "subscribePattern"
When i googled about this option , the most useful piece of information came up is the following: https://jaceklaskowski.gitbooks.io/mastering-apache-spark/content/spark-streaming/spark-streaming-kafka-ConsumerStrategy.html
Can anyone put in layman term for me about the most distinct difference for among the 3 options ? and what is the different behaviour that will reflect for Spark SQL