Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IfExists.RETURN_OR_UPDATE configuration for createOrUpdateArtifact #16

Open
famarting opened this issue Oct 21, 2021 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@famarting
Copy link
Contributor

from #15

In order to evolve a schema and therefore to create new versions of one artifact currently we only support explicitly using the version property, like:
...
metadata:
name: pets-avro-example-v1
spec:
artifactId: pests-avro-record
...
...
metadata:
name: pets-avro-example-v2
spec:
artifactId: pests-avro-record
version: "2"
...

However if we use the feature IfExists.RETURN_OR_UPDATE when calling createArtifact new versions could be created automatically.

Test this carefully to avoid having a situation where new versions are continuosly created in a loop.

@famarting famarting added the enhancement New feature or request label Oct 21, 2021
@famarting famarting self-assigned this Oct 21, 2021
@dweber019
Copy link

I would suggest even make this configurable over env variables, so one can choose the behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants