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

Rework plugins so that it's only triggers #25876

Open
pauldix opened this issue Jan 21, 2025 · 0 comments
Open

Rework plugins so that it's only triggers #25876

pauldix opened this issue Jan 21, 2025 · 0 comments
Labels

Comments

@pauldix
Copy link
Member

pauldix commented Jan 21, 2025

Now that plugins come from either the local disk or Github, it's no longer necessary to have a plugin creation step separate from a trigger creation step. We can just create the trigger. I propose:

influxdb3 create trigger --plugin <path/foo/file.py> --type <wal|schedule|request|persist> --spec <the trigger spec> --arguments <comma separated k/v list>

The plugin part will either be a path to a file in the plugin dir, or start with gh: in which case it's to be found in the plugin repo in github.

All of the plugin commands should be removed.

It should still be possible to enable and disable triggers.

@pauldix pauldix added the v3 label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant