Skip to content

Remove deprecated mqtrigger with kind fission #2875

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

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

sanketsudake
Copy link
Member

@sanketsudake sanketsudake commented Nov 17, 2023

Description

This PR removes fission mqtrigger for kafka which implemented old approach.

https://fission.io/docs/usage/triggers/message-queue-trigger/kafka/

So effectively we are supporting only keda based mqtriggeres https://fission.io/docs/usage/triggers/message-queue-trigger-kind-keda/

This old connector has been lot of maintenance work, so we are removing it as it has been marked deprecated in last couple of releases.

Which issue(s) this PR fixes:

Fixes #

Testing

Checklist:

  • I ran tests as well as code linting locally to verify my changes.
  • I have done manual verification of my changes, changes working as expected.
  • I have added new tests to cover my changes.
  • My changes follow contributing guidelines of Fission.
  • I have signed all of my commits.

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (efeb695) 43.56% compared to head (27cc78e) 44.24%.

Files Patch % Lines
pkg/apis/core/v1/validation.go 0.00% 0 Missing and 2 partials ⚠️
pkg/fission-cli/cmd/mqtrigger/create.go 0.00% 0 Missing and 1 partial ⚠️
pkg/mqtrigger/validator/validator.go 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2875      +/-   ##
==========================================
+ Coverage   43.56%   44.24%   +0.67%     
==========================================
  Files         218      213       -5     
  Lines       22985    22465     -520     
==========================================
- Hits        10014     9939      -75     
+ Misses      11698    11260     -438     
+ Partials     1273     1266       -7     
Flag Coverage Δ
unittests 44.24% <33.33%> (+0.67%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
@sanketsudake sanketsudake force-pushed the remove-mqtkind-fission branch from d110229 to 3872631 Compare November 21, 2023 10:55
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
@sanketsudake sanketsudake merged commit f44174d into main Nov 21, 2023
@sanketsudake sanketsudake deleted the remove-mqtkind-fission branch November 30, 2023 16:50
soharab-ic added a commit that referenced this pull request May 24, 2024
sanketsudake pushed a commit that referenced this pull request May 27, 2024
* Revert "Remove deprecated mqtrigger with kind fission (#2875)"

This reverts commit f44174d.

* Upgrade sarama version to v1.43.2

Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io>

---------

Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io>
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.

1 participant