rkafka.send | R Documentation |
This function sends message to a particular name through a producer
rkafka.send(producer, topicName, ip, message)
producer |
Producer through which messages are to be sent Required:Mandatory Type:String |
topicName |
Topic to which messages are to be sent. If topicName doesn't exist, new topic is created Required:Mandatory Type:String |
ip |
ip on which producer is running Required:Mandatory Type:String |
message |
message to be sent Required:Mandatory Type:String |
Doesn't return a value
Shruti Gupta
## Not run: producer1=rkafka.createProducer("127.0.0.1:9092") rkafka.send(producer1,"test","127.0.0.1:9092","Testing") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.