Adding flag for posting counts to kafka. Controlling the number of exceptions printed during decoder exceptions