top of page

Data contracts within a Data mesh?

Writer: Rudy Nausch
Rudy Nausch
Oct 13, 2022
2 min read

Without high-quality data, every AI and analytics initiative will be underwhelming at best and actively damaging the business at worst.


To overcome this problem, data producers must be willing to take ownership of production data and collaborate with data consumers to support high-value use cases.


Under a data mesh governance structure, this becomes the default paradigm and the concept of a data contract is an interesting approach.


Data contracts are API-based agreements between producers and consumers designed to solve exactly that problem. Data contracts could be implemented by these steps:

  1. Identify use cases for your data

  2. Create requirements around the schema and values of the data

  3. Document the expected semantics of the dataset

  4. Collaborate with data producers to define the potential value of the use cases

  5. Identify masking policies based on regulatory and privacy requirements

  6. Define the contract and infrastructure, as code, in a source control repository

  7. Validate a robust curation layer above raw CDC events

  8. Automate schema compatibility checks in the CI/CD workflow

  9. Make the data available through the business facing layer, with role based masking

  10. Write integration tests to verify semantic validity

  11. Create data tests to verify data correctness

  12. Generate monitors to alert on shifts in semantics & anomalies

  13. Push all contracts to a catalogue for discoverability and re-use


This framework treats data as code and results in an explosion of conversation and collaboration around what data is meaningful, what it semantically means, how it is used, and where it should be used.


Data Contracts are not a new concept. They are simply new implementations of a very old idea - that producers and consumers should work together to generate high-quality, semantically valid data from the ground up instead of insisting on modelling poor-quality data exclusively after it lands in a Data lake.


Data contracts could eventually form a backbone of production-quality data and are important in driving AI/ML, advanced analytics, and other high-value use cases.


Original post Chad Sanderson, with some edits and added ideas by me.

 
 
 

2 Comments


nolafo.wle156+abc123
Aug 27

https://keonhacai.cam/ hôm trước mình thấy bạn bè nhắc nên tiện tay mở thử cho biết thôi. Mình cũng không đọc kỹ nội dung hay bấm chọn gì nhiều, chủ yếu xem giao diện có dễ nhìn không. Vào cái là thấy họ chia bố cục theo từng khối rõ ràng, kiểu lướt qua là biết phần nào nằm ở đâu chứ không bị chữ dính một cục nhìn mệt. Mình để ý mấy chỗ thông tin họ trình bày dạng cột/bảng khá gọn, nhìn nhanh vẫn bắt được ý chính mà không rối. Menu cũng đặt ngay chỗ dễ thấy nên chuyển qua lại vài mục khá mượt, không phải mò. Nói chung ngó vài phút thấy ổn vì các…

Like

robert50powell.9.5.8.4+abc123
Aug 21

Bài viết dễ theo dõi, đọc mạch lạc nên mình hiểu rõ hơn, cảm ơn bạn đã chia sẻ. Mình cũng hay xem thống kê XSMB mỗi ngày để nắm xu hướng, nên tự gom lại thành một trang tổng hợp cho tiện tra cứu khi cần. Bạn nào cũng quan tâm dữ liệu cập nhật theo ngày thì ghé xem thử https://soicauxsmbpro.bloguetechno.com/soi-cầu-xsmb-79226490

Like

©2024 by Eudaimonic. All Rights Reserved.

bottom of page