We are actively working on the base abstraction for the Metadata Stores, which will be available soon. As a result, their extension is not recommended at the moment. When you are selecting a metadata store for your stack, you can use one of the existing flavors.
If you need to implement your own Metadata Store flavor, you can still do so, but keep in mind that you may have to refactor it when the base abstraction is released.
ZenML comes equipped with Metadata Store implementations that you can use to store artifacts on a local filesystem, in a MySQL database or in the metadata service installed with Kubeflow. However, if you need to use a different type of service as a backend for your ZenML Metadata Store, you can extend ZenML to provide your own custom Metadata Store implementation.
Build your own custom metadata store
If you want to implement your own custom Metadata Store, you can follow the following steps:
ZenML includes a range of Metadata Store implementations, some built-in and other provided by specific integration modules. You can use them as examples of how you can extend the base Metadata Store class to implement your own custom Metadata Store: