Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Using the paho.mqtt.client library to select the name from the schema.


Using the paho.mqtt.client library, how can I select the name from the AVRO schema? The code I am working utilizes the skeletal code found on The function, on_message, is where I have been trying to select for the name. 

def on_message(client, userdata, msg):

I have tried to find the name value from the message payload and from the client. I am unable to select for the name value using the paho.mqtt.client library. I have been writing the payload to a JSON/AVRO object and selecting the value using "name" as the key. Is there any capability to select for the name using the paho.mqtt.client library? 

Veena Ghorakavi

Back to the top