Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

MQTT: Operator require dataAttributeName even when there is only one attribute #94

Closed
chanskw opened this issue Feb 25, 2015 · 1 comment

Comments

@chanskw
Copy link
Collaborator

chanskw commented Feb 25, 2015

With the MQTT operators, we used to be support the blob format for a message.
So, the schema of the stream is this:

schema BlockMsg

So, code like this would work:

() as MQTTSink_7 = MQTTSink(BlockMsg as inPort0Alias)
{
param
topic : "data" ;
serverURI : "tcp://server:16102" ;
}

With the introduction of dataAttributeName, this code will no longer compile because we either require the attribute, or have an attribute that is named "data" on the stream.

This breaks source compatibility. In the case where we only have a single attribute, we should simply assume that the attribute is the data attribute.

conglisc added a commit to conglisc/streamsx.messaging that referenced this issue Mar 4, 2015
@chanskw
Copy link
Collaborator Author

chanskw commented Apr 22, 2015

Fixed

@chanskw chanskw closed this as completed Apr 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant