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

feat: Kafka es discontinues processing if eb publishing fails #2214

Merged
merged 6 commits into from
Sep 26, 2022

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Sep 25, 2022

Signed-off-by: Derek Wang [email protected]

  1. Kafka eventsource stop continue processing message if publishing messages fails - let it retry;
  2. Removed unmaintained package github.com/pkg/errors

Checklist:

@whynowy whynowy changed the title chore: do not continue if eventbus has issues and refactor feat: Kafka es stops processing if eb publishing fails Sep 25, 2022
@@ -94,7 +94,7 @@ func Convert2WaitBackoff(backoff *apicommon.Backoff) (*wait.Backoff, error) {
return &result, nil
}

func Connect(backoff *apicommon.Backoff, conn func() error) error {
func DoWithRetry(backoff *apicommon.Backoff, f func() error) error {
Copy link
Member Author

Choose a reason for hiding this comment

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

Function rename.

@whynowy whynowy changed the title feat: Kafka es stops processing if eb publishing fails feat: Kafka es discontinues processing if eb publishing fails Sep 25, 2022
Signed-off-by: Derek Wang <[email protected]>
Signed-off-by: Derek Wang <[email protected]>
.
Signed-off-by: Derek Wang <[email protected]>
.
Signed-off-by: Derek Wang <[email protected]>
@whynowy whynowy merged commit 07e6960 into argoproj:master Sep 26, 2022
@whynowy whynowy deleted the kfk branch September 26, 2022 04:33
whynowy added a commit that referenced this pull request Sep 28, 2022
denis-codefresh added a commit to codefresh-io/argo-events that referenced this pull request Aug 28, 2023
* chore(deps): bump github.com/nats-io/nats.go from 1.16.0 to 1.17.0 (argoproj#2197)

Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](nats-io/nats.go@v1.16.0...v1.17.0)

Signed-off-by: Derek Wang <[email protected]>

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Emissary executor reads and writes to WorkflowTaskResults, not Pods (argoproj#2189)

Signed-off-by: Julie Vogelman <[email protected]>

Signed-off-by: Julie Vogelman <[email protected]>

* fix filter for github sensor example (argoproj#2188)

Signed-off-by: Matthieu Simon <[email protected]>

Signed-off-by: Matthieu Simon <[email protected]>

* chore: enable jetstream 2.9 (argoproj#2205)

Signed-off-by: Derek Wang <[email protected]>

* chore: fix examples to drop deprecated fields (argoproj#2204)

Signed-off-by: Derek Wang <[email protected]>

* chore(deps): bump github.com/aws/aws-sdk-go from 1.44.81 to 1.44.105 (argoproj#2208)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump google.golang.org/api from 0.93.0 to 0.97.0 (argoproj#2211)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump actions/stale from 5 to 6 (argoproj#2213)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: Kafka es discontinues processing if eb publishing fails (argoproj#2214)

Signed-off-by: Derek Wang <[email protected]>

* Make port configurable in webhook, default is set to 443 (argoproj#2215)

Signed-off-by: Nir Shtein <[email protected]>

* chore: enable argo v3.4 and nats 2.9.1 (argoproj#2216)

Signed-off-by: Derek Wang <[email protected]>

* Update manifests to v1.7.3

Signed-off-by: Derek Wang <[email protected]>

* update versions

* fix compile errors

* use quay.io/denis_codefresh/argo-events

* Revert "use quay.io/denis_codefresh/argo-events"

This reverts commit 9fcb428.

* fix release

* change image across manifests

* quay.io/denis_codefresh/argo-events

* Revert "quay.io/denis_codefresh/argo-events"

This reverts commit 624f792.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Julie Vogelman <[email protected]>
Signed-off-by: Matthieu Simon <[email protected]>
Signed-off-by: Derek Wang <[email protected]>
Signed-off-by: Nir Shtein <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julie Vogelman <[email protected]>
Co-authored-by: Matthieu Simon <[email protected]>
Co-authored-by: Derek Wang <[email protected]>
Co-authored-by: Nir Shtein <[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