add key hashcode for producer send