kafka-1384; Log Broker state; patched by Timothy Chen; reviewed by Joel Koshy and Jun Rao