When broker has one publisher and subscriber (via MQTT) there are no messages in persistance. I tested in LevelDB and MySQL. In LevelDB was only topics name. Maybe configuration was wrong or I need another persistance? Maybe MQTT messages not writes to message storage?
My task is get publishe/subscriber id's. How can I do this, maybe some of this:
- get another persistance, such KahaDB with archiveDataLogs=true or high performance journal?
- configured 'correctly' persistance?
- get some logs or journal of broker?
- write plug-in and get this data from RAM?
Version 5.9.
LevelDb configurtion:
<persistenceAdapter>
<LevelDB directory="${activemq.data}/leveldb"/>
</persistenceAdapter>
Now, I tried to get log archive in KahaDB? but no result. Archive folder empty:
<persistenceAdapter>
<kahaDB directory="${activemq.data}/kahadb" archiveDataLogs="true" directoryArchive="${activemq.data}/datalog"/>
</persistenceAdapter>
Thanks.