modified:   libkafkas.cpp