Fork me on GitHub
#clojurewerkz
<
2021-06-28
>
kennytilton14:06:00

Just getting ready to play with MQTT. Is https://github.com/clojurewerkz/machine_head a good starting point? Thx!

kennytilton15:06:59

It works! Just needs a new Paho client version.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.paho.client.mqttv3.internal.FileLock (file:/Users/kennethtilton/.m2/repository/org/eclipse/paho/mqtt-client/0.4.0/mqtt-client-0.4.0.jar) to method sun.nio.ch.FileLockImpl.release()
WARNING: Please consider reporting this to the maintainers of org.eclipse.paho.client.mqttv3.internal.FileLock
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Hello, world

kennytilton18:06:02

Actually, needed lots new. The examples repo points to the latest clojars machine_head. The repo is much newer, including Paho 1.2.5. Installed the MH snapshot locally, point MH examples at that, and (a) warnings gone and (b) weathr example works after commenting out the "#/tx/austin" case. ☀️