1. avro sample modified.
2. log4j colored layout added.
3. common business logic modified.