Skip to content

Conversation

imkonsowa
Copy link
Contributor

  • Implement webhook publisher with MessageQueue interface
  • Support bearer token authentication
  • Send notifications as JSON with key and protobuf message

What problem are we solving?

Real-time file event notifications by Enabling external systems to react immediately to file operations

How are we solving the problem?

Introducing a new configurable webhook notifications queue

How is the PR tested?

Manuall and unit testing

Checks

  • [yes] I have added unit tests if possible.
  • [yes] I will add related wiki document changes and link to this PR after merging.

@imkonsowa imkonsowa force-pushed the feature/webhook-notifications branch from 441b31c to 56e073a Compare July 10, 2025 13:45
@chrislusf
Copy link
Collaborator

chrislusf commented Jul 10, 2025

This is nice for the initial version. It still needs more work.

The http call may need some retrying mechanism, and should be async since it will block normal filer operations.
On production, there could be billions of files. Users may be only interested in a few sets of files. Need to support filter configurations.

@chrislusf chrislusf merged commit 93bbaa1 into seaweedfs:master Jul 10, 2025
11 checks passed
@imkonsowa
Copy link
Contributor Author

Thanks for approving @chrislusf
I agree with you, I'm planning to work on extending that feature ASAP.

@imkonsowa imkonsowa deleted the feature/webhook-notifications branch July 10, 2025 16:37
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