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

Return error when trying to update a stream with a source with a bad subject transform #5574

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

jnmoyne
Copy link
Contributor

@jnmoyne jnmoyne commented Jun 20, 2024

In some cases a bad subject transform could still pass the validation test that is part of the config check when updating a stream config, and no error would be returned. Now return an error when trying to update a stream config with a source that has a bad subject transform that is not caught by the subject transform destination check in the stream config check.

Improves #5571

… stream config during a stream config update, return the error rather than merely log it and continue.

Signed-off-by: Jean-Noël Moyne <[email protected]>
@jnmoyne jnmoyne requested a review from a team as a code owner June 20, 2024 15:12
@derekcollison
Copy link
Member

Need to get tests passing cleanly first.

@derekcollison derekcollison self-requested a review June 21, 2024 14:24
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekcollison derekcollison merged commit 477c8ba into main Jun 21, 2024
4 checks passed
@derekcollison derekcollison deleted the jnm/20-jun-24 branch June 21, 2024 14:25
neilalexander pushed a commit that referenced this pull request Jun 21, 2024
…subject transform (#5574)

In some cases a bad subject transform could still pass the validation
test that is part of the config check when updating a stream config, and
no error would be returned. Now return an error when trying to update a
stream config with a source that has a bad subject transform that is not
caught by the subject transform destination check in the stream config
check.

Improves #5571

---------

Signed-off-by: Jean-Noël Moyne <[email protected]>
wallyqs added a commit that referenced this pull request Jun 21, 2024
Includes:

* #5571 
* #5082
* #5573
* #5574
* #5575
* #5577
* #5578
* #5580 
* #5559 

Signed-off-by: Neil Twigg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants