df_data_service icon indicating copy to clipboard operation
df_data_service copied to clipboard

Mapping Topic and Schema together

Open datafibers opened this issue 9 years ago • 3 comments

If df uses all Avro as data, we need the schema for each topic to describe it. As result, we should set convention between the topic and its schema subject, such as topic_name has topic_name.avsc as its schema subject name. By following this convention, we only need either topic or schema to read/write data.

The question is how we can enforce this convention check?

datafibers avatar Jun 10 '17 11:06 datafibers

this should be set as default. User should have option to map existing schema to a new topic

datafibers avatar Jun 28 '17 18:06 datafibers

#24 #18 Once done, we do not always have to specify schema.subject in the avro file connect and transform.

  • [x] update current Schema view to Topic view
  • [x] Schema is used to describe the topic - underline they'll have the same name
  • [x] When schema.subject is not provided, use topic name.
  • [x] When schema.subject i provided, use it for overwrite
  • [ ] Delete a topic will delete the data (by option) and schema as well
  • [ ] Delete schema may requires [Kafka upgrade] (https://github.com/confluentinc/schema-registry/pull/532)

datafibers avatar Aug 02 '17 18:08 datafibers

@SchubertZhu pls. test the complete items above.

datafibers avatar Aug 06 '17 01:08 datafibers