Skip to content

Bug: Unable to write data via influxdb-writer #86

@VeddySama

Description

@VeddySama

What were you trying to achieve?

In the latest SuperMQ code implementation, the process of retrieving SenML-formatted data from NATS incorporates timestamp conversion to nanosecond precision. However, the InfluxDB writer component exhibits incompatibility with nanosecond-granularity timestamps. The specific code artifacts responsible for this discrepancy are identified at:

  1. supermq/pkg/transformers/senml/transformer.go:70
    (Nanosecond conversion logic for SenML timestamps)

Image

  1. supermq-contrib/consumers/writers/influxdb/consumer.go:131
    (InfluxDB timestamp ingestion handler)

Image

What are the expected results?

Write data correctly

What are the received results?

Unable to write data

Steps To Reproduce

No response

In what environment did you encounter the issue?

In the latest code

Additional information you deem important

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions