ConduitIO / ConduitIO/conduit

Feature: Allow for specifying IDs via the API

Open
#2,228 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Go
Stars
610
Forks
63
Avg merge
12h 28m
Merged PRs (30d)
57

Description

### Feature description

The examples in the swagger UI suggest that we can specify an ID when we Create/Post a new Pipeline/Connector/Processor. eg.

![Image](https://github.com/user-attachments/assets/b73cbaf3-a6c9-4306-aba0-58510a4471e6)

However, the underlying API and orchestrators don't seem to actually allow for doing so - it just [sets a new UUID](https://github.com/ConduitIO/conduit/blob/42bee9658264429b03f27af347e98f3bde05cb7d/pkg/orchestrator/pipelines.go#L47).

## Proposal

It would be helpful if the API and orchestrators could accept an optional ID field. If it exists, use it. If not, create a UUID.

This would both align it with the yaml config file behaviour, as well as make it vastly easier to deal with configurations since we can know exactly what the IDs are/should be rather than needing to List them all, parse the response, extract the assigned (UU)IDs, then use them.

Most importantly, for me, it would allow for aligning the ID with specific variables in the broader system - eg a server or client number.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.