You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spark allows creating a column named topic to define a per-record basis topic.
The destination topic for the records of the DataFrame can either be specified statically as an option to the DataStreamWriter or on a per-record basis as a column named “topic” in the DataFrame. (Source)
I need to use the same strategy for the schema registry subject name. Does ABRiS support it?
Thanks!
The text was updated successfully, but these errors were encountered:
No, currently you must specify the schema when you are creating the from_avro / to_avro expression. The Only exception to that is the schema that is downloaded using the confluent id at the start of the message.
I am not sure if I understand the use case. All the rows in the data frame must have the same spark type right? Shouldn't they have the same avro type/schema as well?
You got it. The rows have the same schema.
However, some records should be published for their specific topic, hence, distinct subject names are used (internal reasons).
As I said, the topic per-record basis is supported by Spark (Source).
Spark allows creating a column named
topic
to define a per-record basis topic.I need to use the same strategy for the schema registry subject name. Does ABRiS support it?
Thanks!
The text was updated successfully, but these errors were encountered: