Skip to content

key multiPart missing  #389

@marcoratto

Description

@marcoratto

I have a problem using the key "MultiPart" for the key "Metadata".
I wrote a java sample code:
IssueMetaDataMultiPart.java.txt

This is the output written on the console:
`
MetaData [isMultiPart=true, contentType=text/plain, size=12, seq=0, fileName=fileName, fileType=fileType, md5=md5, description=config]

Metric [name=file, alias=1234, timestamp=1718715733989, dataType=String, isHistorical=null, isTransient=null, metaData=MetaData [isMultiPart=true, contentType=text/plain, size=12, seq=0, fileName=fileName, fileType=fileType, md5=md5, description=config], properties=null, value=Hello world!, isNull=false]
`

This is the message send to the Broker MQTT:

{
"timestamp": 1718715733989,
"metrics": [
{
"name": "file",
"alias": 1234,
"timestamp": 1718715733989,
"dataType": "String",
"metaData": {
"contentType": "text/plain",
"size": 12,
"seq": 0,
"fileName": "fileName",
"fileType": "fileType",
"md5": "md5",
"description": "config"
},

"value": "Hello world!"
}
],
"seq": 0
}

the key isMultiPart is missing.
I tried the same code with the Tahu Libraries 1.0.0 and 1.0.7 but it doesn't work.

Someone could help me ?

thanks in advance
Marco

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions