examples/subscriber.py
def onPublish(self, topic, payload, qos, dup, retain, msgId):
        '''
        Callback Receiving messages from publisher
        '''
        log.debug("msg={payload}", payload=payload)
def onPublish(self, topic, payload, qos, dup, retain, msgId):
        '''
        Callback Receiving messages from publisher
        '''
        log.debug("msg={payload}", payload=payload)
def onPublish ( self , topic , payload , qos , dup , retain , msgId ) : log . debug ( "msg={payload}" , payload = payload )
Callback Receiving messages from publisher
Callback Receiving messages from publisher