read topics by page number and set mysql connection poll maxAge param