change db to app4am, and add topicId null initial value
finish handling insert error by send the error message to log collection