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

Adapter's "Reduce event rate" will not work on edit #3425

Open
dsdbusch opened this issue Jan 14, 2025 · 1 comment
Open

Adapter's "Reduce event rate" will not work on edit #3425

dsdbusch opened this issue Jan 14, 2025 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@dsdbusch
Copy link

Apache StreamPipes version

dev (current development state)

Affected StreamPipes components

UI

What happened?

When creating an OPCUA adapter (using subscription mode) i entered 10000 in Reduce event rate - i got an changed value as expected every 10s. Show code will NOT display this value.

When edit an existing adapter "reduce event rate" is not checked any longer, "show code" will also NOT display the value entered when creating the adapter.

When saving (or modifieing) an exiting adapter the value entered in "reduce event rate" will be ignored and deleted! The events will occur at EVERY change!

How to reproduce?

Create an OPCUA adapter, check "Reduce event rate" enter 10000 and save. After edit and save this value gets lost

Expected behavior

No response

Additional technical information

No response

Are you willing to submit a PR?

None

@dsdbusch dsdbusch added the bug Something isn't working label Jan 14, 2025
@dsdbusch dsdbusch changed the title Reduce event rate will not work on edit Adapter's "Reduce event rate" will not work on edit Jan 14, 2025
@dominikriemer dominikriemer added this to the 0.98.0 milestone Jan 15, 2025
@tenthe
Copy link
Contributor

tenthe commented Jan 16, 2025

@dsdbusch, thanks for reporting the issue. I was able to reproduce the bug on my machine using the machine data simulator. After creating an adapter with the reduce event rate option configured, the configuration is lost when editing the adapter.

Note: The problem occurs for all adapter types. It seems the rule is correctly persisted in the database but is not displayed in the UI when the configuration menu is opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants