figuring out kafka protocol