不多说,直接上干货!
一切来源于官网
http://kafka.apache.org/documentation/
A more limited legacy producer and consumer api is also included in Kafka. These old Scala APIs are deprecated and only still available for compatibility purposes. Information on them can be found here .