title: The group coordinator is not available-Kafka
body: <p>When I am write a topic to kafka,there is an error:<code>Offset commit failed</code>:</p>
  
  <pre><code>2016-10-29 14:52:56.387 INFO [nioEventLoopGroup-3-1][org.apache.kafka.common.utils.AppInfoParser$AppInfo:82] - Kafka version : 0.9.0.1
  2016-10-29 14:52:56.387 INFO [nioEventLoopGroup-3-1][org.apache.kafka.common.utils.AppInfoParser$AppInfo:83] - Kafka commitId : 23c69d62a0cabf06
  2016-10-29 14:52:56.409 ERROR [nioEventLoopGroup-3-1][org.apache.kafka.clients.consumer.internals.ConsumerCoordinator$DefaultOffsetCommitCallback:489] - Offset commit failed.
  org.apache.kafka.common.errors.GroupCoordinatorNotAvailableException: The group coordinator is not available.
  2016-10-29 14:52:56.519 WARN [kafka-producer-network-thread | producer-1][org.apache.kafka.clients.NetworkClient$DefaultMetadataUpdater:582] - Error while fetching metadata with correlation id 0 : {0085000=LEADER_NOT_AVAILABLE}
  2016-10-29 14:52:56.612 WARN [pool-6-thread-1][org.apache.kafka.clients.NetworkClient$DefaultMetadataUpdater:582] - Error while fetching metadata with correlation id 1 : {0085000=LEADER_NOT_AVAILABLE}
  </code></pre>
  
  <p>When create a new topic using command,it is ok.</p>
  
  <pre><code>./kafka-topics.sh --zookeeper localhost:2181 --create --topic test1 --partitions 1 --replication-factor 1 --config max.message.bytes=64000 --config flush.messages=1
  </code></pre>
  
  <p>This is the producer code using Java：</p>
  
  <pre><code>public void create() {
          Properties props = new Properties();
          props.clear();
          String producerServer = PropertyReadHelper.properties.getProperty("kafka.producer.bootstrap.servers");
          String zookeeperConnect = PropertyReadHelper.properties.getProperty("kafka.producer.zookeeper.connect");
          String metaBrokerList = PropertyReadHelper.properties.getProperty("kafka.metadata.broker.list");
          props.put("bootstrap.servers", producerServer);
          props.put("zookeeper.connect", zookeeperConnect);//声明ZooKeeper
          props.put("metadata.broker.list", metaBrokerList);//声明kafka broker
          props.put("acks", "all");
          props.put("retries", 0);
          props.put("batch.size", 1000);
          props.put("linger.ms", 10000);
          props.put("buffer.memory", 10000);
          props.put("key.serializer", "org.apache.kafka.common.serialization.StringSerializer");
          props.put("value.serializer", "org.apache.kafka.common.serialization.StringSerializer");
          producer = new KafkaProducer&lt;String, String&gt;(props);
      }
  </code></pre>
  
  <p>Where is wrong？</p>