Not able to execute basic demo example on Kuiper rules engine with EdgeX #976
Unanswered
AnilChoudhury-Eaton
asked this question in
Q&A
Replies: 1 comment 1 reply
-
messageType property is supported since 1.3.0. I found you are using 1.2.1. Please use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using master branch of edgeX docker-compose script to run EdgeX services on RPI running ubuntu.
I have configured the MQTT configuration in docker-compose for 'rulesengine' service to filter a particular device resource events. I can see those events when i do subscribe to mqtt bus.
Later i created a default stream and a default rule but i can get following warning: "No readings are processed for the event, so ignore it."
Container configuration:
Stream created:
Rule created:
Container run log:
MQTT messages from device service on the bus which should get consumed by rules engine directly:
ubuntu@ubuntu:~/edgex/edgex-compose$ mosquitto_sub -t edgex/events/device/Random-Integer-Device/Random-Integer-Device/Int16 -d -q 1
Client mosq-OunGlQYGWAT7yr8K1a sending CONNECT
Client mosq-OunGlQYGWAT7yr8K1a received CONNACK (0)
Client mosq-OunGlQYGWAT7yr8K1a sending SUBSCRIBE (Mid: 1, Topic: edgex/events/device/Random-Integer-Device/Random-Integer-Device/Int16, QoS: 1, Options: 0x00)
Client mosq-OunGlQYGWAT7yr8K1a received SUBACK
Subscribed (mid: 1): 1
Client mosq-OunGlQYGWAT7yr8K1a received PUBLISH (d0, q0, r0, m0, 'edgex/events/device/Random-Integer-Device/Random-Integer-Device/Int16', ... (785 bytes))
{"ReceivedTopic":"","CorrelationID":"","Payload":"eyJhcGlWZXJzaW9uIjoidjIiLCJyZXF1ZXN0SWQiOiJhNWVhZjA2NC1lN2YwLTQzNGYtODNiOS01MDc2NWEwZDM3ODciLCJldmVudCI6eyJhcGlWZXJzaW9uIjoidjIiLCJpZCI6ImYxZGI2OGRkLWEyMDYtNDBhOS1iYzI1LWIxMTM0NjZiNGQwMSIsImRldmljZU5hbWUiOiJSYW5kb20tSW50ZWdlci1EZXZpY2UiLCJwcm9maWxlTmFtZSI6IlJhbmRvbS1JbnRlZ2VyLURldmljZSIsInNvdXJjZU5hbWUiOiJJbnQxNiIsIm9yaWdpbiI6MTYyOTg5MDU5NjczMDEzNDk1NiwicmVhZGluZ3MiOlt7ImlkIjoiNGI0NDAxYjEtNzlhOS00MGNkLTg0MTctNjJjNTY5NGFjODk3Iiwib3JpZ2luIjoxNjI5ODkwNTk2NzMwMTM0OTU2LCJkZXZpY2VOYW1lIjoiUmFuZG9tLUludGVnZXItRGV2aWNlIiwicmVzb3VyY2VOYW1lIjoiSW50MTYiLCJwcm9maWxlTmFtZSI6IlJhbmRvbS1JbnRlZ2VyLURldmljZSIsInZhbHVlVHlwZSI6IkludDE2IiwiYmluYXJ5VmFsdWUiOm51bGwsIm1lZGlhVHlwZSI6IiIsInZhbHVlIjoiMTc5NjgifV19fQ==","ContentType":"application/json"}
Beta Was this translation helpful? Give feedback.
All reactions