proto: fix type for request record
add defs for produce request