↓Skip to main content

Singer and abstractions for data integration

All abstractions are wrong, but some are useful.
·3 mins

Hello again!

The recording of my talk at the Compass AI and Tech Summit is now on Youtube, alongside all the others. Check it out here!

Now onto this week’s newsletter, where I write about Singer and more generally about abstractions for data engineering.

There’s also links to articles on is AI doing less, what makes a data product, and what actually is an ontology.


Singer and abstractions for data integration

I’ve recently been looking again at Singer to extract stats for this very newsletter, having introduced it to our tech stack in a previous role, and despite its limitations and lack of activity I still find it interesting as a potential abstraction for data integration.

If you’re not familiar with Singer, it is an open-source framework from Stitch that separates the reading from a source (a tap) and the writing to a data store (a target) by having them communicate with each other using a simple JSON-based protocol such as the following:

{
  "type": "RECORD",
  "stream": "users",
  "time_extracted": "2017-11-20T16:45:33.000Z",
  "record": {
    "id": 0,
    "name": "Chris"
  }
}

This allows a data engineer to focus on either the reading or the writing of data without worrying about the other side. As long as the data conforms to the protocol it should just work.

Diagram showing data pipeline architecture. Left column headed "Taps" lists boxes: Salesforce, HubSpot, Zendesk, and "...". Right column headed "Targets" lists boxes: BigQuery, Snowflake, Kafka, and "...". Arrows from all taps converge into a central orange JSON document icon labelled "Singer protocol", then fan out to all targets.

One issue with this is it’s likely the Singer tap and target are both written in Python, but with different versions of dependencies, or even different versions of Python, so running them within the same process is problematic. This is largely solved with uv.

Singer also has the concept of catalogs, which allow you to define the structure of the events, allowing for some consistency even as the source you are extracting from changes.

The catalog can also serve other purposes, such as where I create the BigQuery table from it, acting as a domain-specific data contract.

Unfortunately Singer (and Stitch) are not showing many signs of investment at the moment. However, a protocol this simple doesn’t need much maintenance, and it is still used heavily in places such as Wise.

Certainly the goal of providing this abstraction is a good one, allowing different teams to own different parts of data integration, and enabling automation at the platform level.


Is AI Doing Less & Less? by Tomasz Tunguz

An analysis of 14 production agent workflows shows that 65% of nodes should be deterministic code, not LLM calls. Four categories emerge : purely deterministic (100%), mostly deterministic (67-91%), hybrid (14-56%), & exclusively agentic (0%).

I’ve been working this week on an agentic pipeline builder (more on that another time!) and one of the discussions we’ve been having is how much of a pipeline would be agentic. This is an interesting data point.

via How to Automate Inbound.

A data product is more than a dataset by Tanusri Mishra

The next time someone renames orders_final to “Orders Data Product,” you’ll know exactly what to ask: where’s the contract? what are the SLOs? who’s the owner? how do I access it? what does it mean? If those have answers, it’s a product. If they don’t, it’s still just an ingredient wearing a fancier label.

What Is an Ontology, After All? by Andrea Splendiani (on LinkedIn)

The many ways of doing so address different needs and often overlap. Some are called ontologies. Which ones? Well, that depends on whom you ask!


Being punny 😅

I have only one joke about time. I don’t have a second.


Thanks! If you’d like to support my work…

Thanks for reading this weeks newsletter — always appreciated!

If you’d like to support my work consider buying my book, Driving Data Quality with Data Contracts, or if you have it already please leave a review on Amazon.

Enjoy your weekend.

Andrew


Want great, practical advice on implementing data mesh, data products and data contracts?

In my weekly newsletter I share with you an original post and links to what's new and cool in the world of data mesh, data products, and data contracts.

I also include a little pun, because why not? 😅

    (Don’t worry—I hate spam, too, and I’ll NEVER share your email address with anyone!)


    Andrew Jones
    Author
    Andrew Jones
    I build data platforms that reduce risk and drive revenue.