We has a queue ,it is full of the tempUsage becaouse the queue has a producer send quickly,but has no consumers,we config the <tempUsage limit="20 gb"/>
When we purge all the message on this queue, stop the producer,and restart the broker,we find that the dir size of "tmp_storage" increase also,the tmp.data db-num.log and db.redo also increase,but have no any queue on the broker(we has stop the consumer and delete the queue) ,note that we have many topic on this broker,it like broker write the topic message to the temp dir.The memory is used 35 percent ,we try to delete the dir of "tmp_storage" and restart broker,has resolved ,the "tempUsage" don't appear again.
So i have two questions:
1.if topic out of memory will cursor to the temp dir? note:topic
2:the Non-persistent message out of the memory that we config and cursor to the temp,if we purge or consume the message but don't delete the dir of "tmp_storage" and restart, will the broker also write the message to the dir of "tmp_storage"?