NUKisZ / Kafka

ios oc or swift kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kafka

ios oc&swift ,Kafa
第一步,设置kafka 地址
KafkaClient.shareInstance().kafka(true,
withClient_Id: "aa",
withSocket_timeout: 1000,
withBroker: "60.26.117.22")
第二步
KafkaClient.shareInstance().sendMsg("aaa",
withTopic: "bbb", success: {
print("成功")
}) { (error) in
print("错误")
print(error)
}

About

ios oc or swift kafka

License:GNU General Public License v3.0