KafkaWrite takes the following to be created:
- Topic Name
- Kafka Producer Parameters
- Schema (StructType)
KafkaWrite is created when:
KafkaTableis requested to create a WriteBuilder
description is part of the Write abstraction.
toBatch is part of the Write abstraction.
toBatch creates a KafkaBatchWrite.
toStreaming is part of the Write abstraction.
toStreaming creates a
KafkaStreamingWrite (Spark Structured Streaming).