small fix for kafka contrib
fixes for vayacondios legacy mode