Comments (3)
Just published a PR! The scope of the sanitization is limited to InfluxDb.
from streampipes.
Hi @bossenti, I have looked into the issue. The event is "correct" ("correct" meaning key value pairs are the same with the file) in frontend, Kafka producer, and Kafka consumer. However, once the code hits Influx Store, the runtime name of some keys are modified. The root cause is that "name" key in the file stream is a keyword of Influx reserved keywords list and Streampipes sanitizes DataLake measure for those keys conflicting with Influx reserved keywords. If you change "name" to something else not in the list everything works.
To fix this, I propose to also sanitize event instead of only sanitizing DataLake measure. Let me know what do you thinkπ!
from streampipes.
Hi @muyangye,
you are right, changing the column name makes it work.
As you said, sanitation should prevent naming conflicts and therefore rename the name
column. But the expected outcome is then that the values are part of the DataLakeMeasure with the sanitized measure name, which doesn't seem to work here.
Where would you place the sanitation of the event? Sanitation is a specific requirement of the InfluxDb in this case, so I'm a bit hesitant to affect other usages of the event stream as well.
from streampipes.
Related Issues (20)
- Cannot deploy a pipeline with Trend data processor HOT 1
- Enhance User Handling in Cypress Tests
- Rename data-explorer-* module
- Issue with `DeleteTransformationRule` in Adapter
- File Stream Adapter ignores speed up factor
- OPCUA Adapter "Add All Direct Children" "+" button not working
- Upgrade to recent prometheus client
- Bug when deleting nested properties in Adapter
- Websocket Server stops sending message when the pipeline instantiating it is stopped and restarted even without any modification
- deleteTransformationRule.spec.ts test is flaky
- feat: Add data sink for ROS
- Import errors in jvm archetype
- feat: Support HTTP proxy in MS Teams sink
- Pipeline editor doesn't recognize unconfigured pipeline elements
- The expansion element disappears HOT 3
- Remove Borken Quick Edit Functionality
- Disappearing installable pipeline elements
- Rename class `JsonLdSerializer`
- Replace `ExtensionsModelSubmitter` with `StreamPipesExtensionsServiceBase`
- Creating new PLC4X S7 Basic adapter is working only once HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streampipes.