Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fail.on.missing.attribute is not working with the default source mapper #87

Open
HasithaAthukorala opened this issue Nov 29, 2019 · 1 comment

Comments

@HasithaAthukorala
Copy link

Description:
Tried with the below source mapper. I have used fail.on.missing.attribute as false, but it fails when an attribute is missing.

@source(type="runtime-agent", port="9411", @Map(type="json", fail.on.missing.attribute="false"))
define stream ZipkinStreamIn(traceId string, id string, parentId string, operationName string, serviceName string, spanKind string, timestamp long, duration long, tags string);

received error : not in an accepted format for default mapping. Hence dropping the message.

Affected Siddhi Version: 4.1.38

@niveathika
Copy link
Member

This is related to https://github.com/siddhi-io/siddhi-map-json and should be moved.

@maheshika maheshika transferred this issue from siddhi-io/siddhi Jan 7, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants