Why a Go connector¶
Tractus-X EDC is the reference connector of Catena-X. The Tractus-X Go connector speaks the same protocols, DSP 2025-1 and DCP 1.0, with the same Catena-X policies and credentials. So the two can exchange data with each other. What differs is how each one is built.
The key differences¶
-
⚡ It reacts instead of waiting
Each step starts the moment the step before it is done. Tractus-X EDC checks for work once a second by default, so its steps wait.
-
📦 One small program
One Go process instead of two Java processes. It starts in milliseconds and needs tens of MiB of memory, not hundreds.
-
🔌 Two calls instead of ten
An application publishes data in one call and gets data in one call. No asking again and again whether a step is done.
-
🏢 Many companies, one deployment
One connector can serve several companies and several dataspaces, for providers who run connectors for many suppliers.
-
🤝 The same standards
It speaks DSP and DCP like Tractus-X EDC, so it exchanges data with every EDC. Nothing changes for your partners.
Side by side¶
| Tractus-X EDC | Tractus-X Go connector | |
|---|---|---|
| How a step starts | state machines check for work in a loop, by default once a second | each step starts the moment the step before it is saved |
| What you run | a control plane and a data plane, two Java processes | one Go process |
| Start-up | seconds | milliseconds |
| Memory | hundreds of MiB | tens of MiB |
| Calls for one exchange | 10, some of them repeated until a state is reached | 2 with the Simple Management API |
Two ways to build a connector¶
Tractus-X EDC runs as two Java processes, a control plane and a data plane, with PostgreSQL, an IdentityHub and a Vault next to them. The Tractus-X Go connector is one Go process with a store, a vault and a wallet it can bring along:
Waiting versus reacting¶
Most of the speed difference comes from one design choice, not from the language.
Tractus-X EDC moves a negotiation or a transfer forward with state machines. Each one runs a loop: look for work, do it, and when there is none, sleep. By default, it sleeps one second.
flowchart TB
loop["state machine loop<br/>(negotiations, transfers, data flows)"]
query[("load the entities waiting<br/>in each state")]
found{"found any?"}
work["send the next message,<br/>save the next state"]
sleep["sleep<br/>(1000 ms by default)"]
loop --> query --> found
found -- yes --> work --> loop
found -- no --> sleep --> loop
The Tractus-X Go connector saves the new state and the next task in one write, and that write wakes a worker at once (an outbox):
sequenceDiagram
participant Peer as Partner
participant Svc as Go connector
participant DB as Store
participant W as Worker
participant App as Application
Peer->>Svc: DSP message
Svc->>DB: new state and next task, one write
DB-->>W: the write wakes the worker
Svc-->>App: and wakes a waiting application
W->>Peer: next DSP message, at once
A negotiation and a transfer take several messages on both sides. If every step waits for the next round of the loop, the waiting adds up to seconds. If every step starts at once, the whole exchange takes milliseconds.
Inside the Tractus-X Go connector¶
The connector is built from small modules. Applications come in through the management APIs at the top left, partner connectors through DSP and the data gateway at the top right. Below them are the services, the policy and identity rules, and the infrastructure. The modules with a green border are what Catena-X adds.
The diagrams come from the Tractus-X Go connector's documentation.
A shorter API for applications¶
With the Go connector's Simple Management API, an application asks for data and gets it:
PUT /offers/{id}: Alice publishes an offer in one call.POST /data: Bob gets the data in one call. His connector negotiates, starts the transfer, waits until the connection is open and returns Alice's data.
On Tractus-X EDC, publishing takes four calls (an asset, two policies and a contract definition), and getting the data takes six more, some of them asked again and again until a state is reached.
Built for many¶
One Go connector can serve several companies (tenants) and several dataspaces. That helps service providers who run connectors for many small suppliers.
Note
The Go connector doesn't replace the standards. It is a second implementation of the same standards. Interoperability with Tractus-X EDC is the point: in the race, you will see both connectors exchange data with each other.
NOTICE¶
This work is licensed under the CC-BY-4.0.
- SPDX-License-Identifier: CC-BY-4.0
- SPDX-FileCopyrightText: 2026 Catena-X Automotive Network e.V.
- SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation
- Source URL: https://github.com/eclipse-tractusx/tutorial-resources