OptionalsubscriptionThese match the settings from https://spark.apache.org/docs/latest/streaming/structured-streaming-kafka-integration.html
A JSON string that contains the specific topic-partitions to consume from. For example, for '{"topicA":[0,1],"topicB":[2,4]}', topicA's 0'th and 1st partitions will be consumed from.
A comma-separated list of Kafka topics to read from. For example, 'topicA,topicB,topicC'.
A regular expression matching topics to subscribe to. For example, 'topic.*' will subscribe to all topics starting with 'topic'.
Deprecated: Use KafkaSubscriptionMode instead.