Change kafka notifications encoding/decoding logic and move feeds checks in constructor