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

Add webhook destniation #105

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Add webhook destniation #105

merged 2 commits into from
Sep 13, 2023

Conversation

bobbyiliev
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • ♻️ Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 👷 Optimization
  • 📝 Documentation Update
  • 🚩 Other

Description

Adding webhook as a destination.

Currently, this works with basic authentication.

Related Tickets & Documents

N/A

Added to documentation?

  • 📜 readme
  • 🙅 no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

Copy link
Collaborator

@chuck-alt-delete chuck-alt-delete left a comment

Choose a reason for hiding this comment

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

Just some minor comments. This looks great, and will simplify Materialize demos quite a bit!

examples/webhook/README.md Outdated Show resolved Hide resolved
examples/webhook/README.md Outdated Show resolved Hide resolved
examples/webhook/README.md Outdated Show resolved Hide resolved
});

} catch (error) {
console.error('Error sending data to webhook:', error);
Copy link
Collaborator

@chuck-alt-delete chuck-alt-delete Sep 13, 2023

Choose a reason for hiding this comment

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

Should we include some retry behavior in the case that we’ve hit the rate limit (status 429)? Doc

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you for the great suggestions @chuck-alt-delete! I've updated the PR accordingly, let me know if you notice any other issues!

@bobbyiliev bobbyiliev merged commit ab80f9f into main Sep 13, 2023
3 checks passed
@bobbyiliev bobbyiliev deleted the webhook-destination branch September 13, 2023 13:37
recursethis pushed a commit to recursethis/materialize-datagen that referenced this pull request Feb 26, 2024
* Add webhook destniation

* Add retries in case of 429
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.

None yet

2 participants