Description Usage Arguments Value
decode avro encoded kafka topic stream
1 | stream_read_kafka_avro(sc, kafka.bootstrap.servers=kafkaUrl, schema.registry.topic="parameter", startingOffsets="earliest", schema.registry.url=schemaRegistryUrl)
|
sc |
spark context |
kafka.bootstrap.servers |
kafka brokers url |
schema.registry.topic, |
A character, topic name |
schemaRegistryUrl |
confluent schema registry url |
startingOffsets |
"earliest" or "latest" |
key.schema.naming.strategy |
key schema naming strategy |
value.schema.naming.strategy |
value schema naming strategy |
key.schema.id |
key schema id |
value.schema.id |
value schema id |
name |
view name if any |
returns a spark stream
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.