Skip to content

SparkplugApplication Required Known Metrics #58

@ankitagojiya

Description

@ankitagojiya
  1. According to sparkplug specificaton there is no need for host application to know what kind of metrics can be received from edge node .

But according to SparkplugNet package implementation predefined NBIRTH/Metrics in the constructor must be given to start the host application. Ideally, Host application should be started without know metrics.

Line 26 : SparkplugNet/src/SparkplugNet/VersionB/SparkplugApplication.cs at master · SeppPenner/SparkplugNet · GitHub

image

2.The package internally validates incoming NBIRTH metrics with metrics saved in KnownMetricsStorage and does not fire the NodeBirthReceived and NodeDataReceived event if we give an empty metrics list(as per point 1) to start the host application and later when the edge node publishes NBIRTH.

image

image

Line 147 : SparkplugNet/src/SparkplugNet/VersionB/SparkplugApplication.cs at master · SeppPenner/SparkplugNet · GitHub

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions