Add return code for Kafka::produce; Free payload when rkq is full
Proper DESTDIR usage in install target
Merge pull request #12 from ZhuYouzhi/master

Add return code for Kafka::produce and free message payload memory in rd_kafka_example when queue is full
Let non-broker threads trigger leader queries.
Re-delegate all affected topic+partitions when a broker fails (issue #14)
If new topic is unknown, requery brokers to find a leader (issue #16)
Added broker state name printouts to rd_kafka_dump()
Constified rd_kafka_name() argument
Use proper define for RD_POLL_NOWAIT
Indent fix
rdkafka_example: dump rdkafka internal state info to stdout on SIGUSR1
rdkafka_example: added logger callback and -d command line argument to enable debugging.
rdkafka_example: Proper SIGINT handling
Merge branch '0.8-wip' into master.
Describe Kafka protocol version support for different branches.
Line trimming in README.md
Debugging is now controlled per context

Config property: "debug" = "<context(,s)>"
Contexts: all,generic,broker,topic,metadata,producer,queue,msg

Usage:
  rd_kafka_conf_set(&conf, "debug", "topic,producer,...", ..);
Moved topic.metadata.refresh.interval.ms to global (not producer-specific) config.
Proper broker metadata refresh on leader failure. (issue #14)

Config property:
Config property: "topic.metadata.refresh.fast.cnt" (def 10)
Config property: "topic.metadata.refresh.fast.interval.ms" (def 250ms)v
Some locking fixes