some code related to bulk fedmsg processing